Fleshing out constructor

This commit is contained in:
2024-02-18 12:30:23 -05:00
parent 12608d8d32
commit ac06e7723f
+1 -1
View File
@@ -47,7 +47,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(key);
float resist = ((Double) resist_json.get(key)).floatValue();
combat_attack_resist.put((String) key, resist);
}