Cleaner way to avoid salvaging chainmail.

This commit is contained in:
GJ
2013-05-28 12:59:10 -04:00
parent 54f135aebd
commit b0eb4b93a8
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public class Repair {
return true;
}
if (Config.getInstance().getSalvageArmor() && ItemUtils.isMinecraftArmor(item)) {
if (Config.getInstance().getSalvageArmor() && !ItemUtils.isChainmailArmor(item) && ItemUtils.isMinecraftArmor(item)) {
return true;
}