diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index d9c4f820..1ced24f7 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -490,6 +490,11 @@ public class ItemTemplate { if (equipped == null) return false; + //Item not valid for slot + + if(item.template.item_eq_slots_or.contains(slot) == false) + return false; + // Slot is taken if (equipped.get(slot) != null && equipped.get(slot).equals(item) == false)