From 8018f1323d0e096314aae0e776419c0666600cde Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Feb 2024 12:26:39 -0500 Subject: [PATCH] Fleshing out constructor --- 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 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); }