From 6f1ddee0ac5cfbb8d2fd966e0400a75e123cc2b4 Mon Sep 17 00:00:00 2001 From: bm01 Date: Tue, 12 Feb 2013 19:12:23 +0100 Subject: [PATCH] ItemChecks.isArmor should check for custom armors --- src/main/java/com/gmail/nossr50/util/ItemChecks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/ItemChecks.java b/src/main/java/com/gmail/nossr50/util/ItemChecks.java index 00305d675..9c7a3bf64 100644 --- a/src/main/java/com/gmail/nossr50/util/ItemChecks.java +++ b/src/main/java/com/gmail/nossr50/util/ItemChecks.java @@ -254,7 +254,7 @@ public class ItemChecks { * @return true if the item is armor, false otherwise */ public static boolean isArmor(ItemStack is) { - return isLeatherArmor(is) || isGoldArmor(is) || isIronArmor(is) || isDiamondArmor(is); + return isHelmet(is) || isChestplate(is) || isPants(is) || isBoots(is); } /**