From f940d05d125153b6fbc9b56c87726f44b160743d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 24 Feb 2024 08:48:03 -0500 Subject: [PATCH] Parsing cleanup --- src/engine/objects/ItemTemplate.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 28241aa0..f0c2011a 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -131,6 +131,8 @@ public class ItemTemplate { item_parry_anim_id = ((Long) jsonObject.get("item_parry_anim_id")).intValue(); + // Item Type == ARMOR? + if (jsonObject.containsValue("item_bulk_factor")) item_bulk_factor = ((Double) jsonObject.get("item_bulk_factor")).floatValue();