diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index f903f662..0205f054 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -470,8 +470,7 @@ public class ItemTemplate { public static boolean isShield(Item item) { - if (item.template.item_type.equals(Enum.ItemType.ARMOR) && - item.template.item_eq_slots_and.contains(Enum.EquipSlotType.LHELD)) + if (item.template.item_skill_required.containsKey("Block")) return true; return false; @@ -479,8 +478,7 @@ public class ItemTemplate { public static boolean isShield(ItemTemplate template) { - if (template.item_type.equals(Enum.ItemType.ARMOR) && - template.item_eq_slots_and.contains(Enum.EquipSlotType.LHELD)) + if (template.item_skill_required.containsKey("Block")) return true; return false;