From 91247c58a68249824ef51b5ad9159daf33087e07 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 27 Feb 2024 14:48:55 -0500 Subject: [PATCH] More parsing work --- 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 5080cf0e..6db1b2a5 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -219,7 +219,7 @@ public class ItemTemplate { weapon_attack_anim_right.add(new int[]{animation, duration}); } - JSONArray attack_anim_left = (JSONArray) item_weapon.get("attack_anim_left"); + JSONArray attack_anim_left = (JSONArray) item_weapon.get("weapon_attack_anim_left"); if (attack_anim_left.isEmpty() == false) for (Object o : weapon_damage) {