diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 1a319e56..1e41d3c7 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -24,6 +24,7 @@ public class ItemTemplate { public String obj_name = ""; public Vector3fImmutable obj_scale = new Vector3fImmutable(); public int obj_render_object; + public HashMap combat_attack_resist = new HashMap<>(); public ItemTemplate(JSONObject jsonObject) { @@ -34,6 +35,8 @@ public class ItemTemplate { ((Double) scaleData.get(2)).floatValue()); obj_render_object = ((Long) jsonObject.get("obj_render_object")).intValue(); + + combat_attack_resist = (HashMap) jsonObject.get("combat_attack_resist"); }