From 8267cbd8f03dfa30d0dc3ff9431680defb47ef38 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Feb 2024 14:30:20 -0500 Subject: [PATCH] More constructor work. --- src/engine/objects/ItemTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 159e0fc8..0a53725a 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -108,7 +108,7 @@ public class ItemTemplate { JSONArray skills_used = (JSONArray) jsonObject.get("item_skill_used"); 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)); } }