Browse Source

Fleshing out constructor

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

2
src/engine/objects/ItemTemplate.java

@ -73,7 +73,7 @@ public class ItemTemplate { @@ -73,7 +73,7 @@ public class ItemTemplate {
item_type = Enum.ItemType.valueOf((String) jsonObject.get("item_type"));
item_eq_slots_value = ((Long) jsonObject.get("item_eq_slots_value")).intValue();
item_eq_slots_type = (boolean) jsonObject.get("item_eq_slots_value");
item_eq_slots_type = (boolean) jsonObject.get("item_eq_slots_type");
// Parsing an enumset

Loading…
Cancel
Save