diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 0205f054..2b2acc37 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -370,15 +370,6 @@ public class ItemTemplate { } - public static boolean isTwoHanded(Item item) { - - if (!item.template.item_type.equals(Enum.ItemType.WEAPON)) - return false; - - return item.template.item_eq_slots_and.contains(EnumSet.of(Enum.EquipSlotType.LHELD, Enum.EquipSlotType.RHELD)); - } - - public static Boolean ValidRace(Item item, Enum.MonsterType race) { if (item.template.item_race_req.isEmpty() && item.template.item_race_res.isEmpty()) @@ -468,6 +459,14 @@ public class ItemTemplate { return false; } + public static boolean isTwoHanded(Item item) { + + if (!item.template.item_type.equals(Enum.ItemType.WEAPON)) + return false; + + return item.template.item_eq_slots_and.contains(EnumSet.of(Enum.EquipSlotType.LHELD, Enum.EquipSlotType.RHELD)); + } + public static boolean isShield(Item item) { if (item.template.item_skill_required.containsKey("Block"))