|
|
@ -107,7 +107,7 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
Object skills_used = jsonObject.get("item_skill_used"); |
|
|
|
Object skills_used = jsonObject.get("item_skill_used"); |
|
|
|
|
|
|
|
|
|
|
|
if ((int) skills_used != 0) |
|
|
|
if (skills_used.equals(0) == false) |
|
|
|
for (Object o : (JSONArray) skills_used) { |
|
|
|
for (Object o : (JSONArray) skills_used) { |
|
|
|
String skilString = ((String) o).replaceAll("\\s", ""); |
|
|
|
String skilString = ((String) o).replaceAll("\\s", ""); |
|
|
|
Enum.CharacterSkills characterSkill = Enum.CharacterSkills.valueOf(skilString); |
|
|
|
Enum.CharacterSkills characterSkill = Enum.CharacterSkills.valueOf(skilString); |
|
|
|