Browse Source

More constructor work.

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

2
src/engine/objects/ItemTemplate.java

@ -108,7 +108,7 @@ public class ItemTemplate {
JSONArray skills_used = (JSONArray) jsonObject.get("item_skill_used"); JSONArray skills_used = (JSONArray) jsonObject.get("item_skill_used");
if (skills_used.isEmpty() == false) if (skills_used.isEmpty() == false)
for (Object o : eq_slots_or) for (Object o : skills_used)
item_skill_used.add(Enum.CharacterSkills.valueOf((String) o)); item_skill_used.add(Enum.CharacterSkills.valueOf((String) o));
} }
} }

Loading…
Cancel
Save