Browse Source

More constructor work.

combat-2
MagicBot 9 months ago
parent
commit
14397d1550
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

@ -91,7 +91,7 @@ public class ItemTemplate {
for (Object o : eq_slots_or) for (Object o : eq_slots_or)
item_eq_slots_or.add(Enum.ItemEquipSlotType.valueOf((String) o)); item_eq_slots_or.add(Enum.ItemEquipSlotType.valueOf((String) o));
JSONArray eq_slots_and = (JSONArray) jsonObject.get("eq_slots_and"); JSONArray eq_slots_and = (JSONArray) jsonObject.get("item_eq_slots_and");
if (eq_slots_and.isEmpty() == false) if (eq_slots_and.isEmpty() == false)
for (Object o : eq_slots_or) for (Object o : eq_slots_or)

Loading…
Cancel
Save