Fixed bug where players were unable to salvage leather armor. Closes #788

This commit is contained in:
TfT_02 2013-03-05 14:39:39 +01:00
parent 78a3ea4765
commit ae741a1b99
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Key:
- Removal
Version 1.4.03-dev
= Fixed bug where players were unable to salvage leather armor
Version 1.4.02
+ Added API to get the skill and power level caps.

View File

@ -264,7 +264,7 @@ public class ItemUtils {
* @return true if the item is armor, false otherwise
*/
public static boolean isMinecraftArmor(ItemStack is) {
return isDiamondArmor(is) || isGoldArmor(is) || isIronArmor(is) || isDiamondArmor(is);
return isLeatherArmor(is) || isGoldArmor(is) || isIronArmor(is) || isDiamondArmor(is);
}
/**