|
|
@ -107,7 +107,8 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
Object skills_used = jsonObject.get("item_skill_used"); |
|
|
|
Object skills_used = jsonObject.get("item_skill_used"); |
|
|
|
|
|
|
|
|
|
|
|
if (skills_used != null) |
|
|
|
if (skills_used instanceof JSONArray) |
|
|
|
item_skill_used.add(Enum.CharacterSkills.Axe); |
|
|
|
for (Object o : (JSONArray) skills_used) |
|
|
|
|
|
|
|
item_skill_used.add(Enum.CharacterSkills.valueOf((String) o)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|