diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index efd64684..d8ac7d10 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -107,7 +107,7 @@ public class ItemTemplate { JSONArray skills_used = (JSONArray) jsonObject.get("item_skill_used"); - if (skills_used.isEmpty() == false) + if (skills_used != null) for (Object o : skills_used) item_skill_used.add(Enum.CharacterSkills.valueOf((String) o)); }