diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 4358d6c0..3f3d97a6 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -39,7 +39,7 @@ public class ItemTemplate { JSONObject resist_json = (JSONObject) jsonObject.get("combat_attack_resist"); for (Object key : resist_json.keySet()) { - Float resist = (Float) resist_json.get((String) key); + Float resist = (Float) resist_json.get(key); combat_attack_resist.put((String) key, resist); }