From 22da19085d26d60829046a913e130fd64d5481af Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 27 Feb 2024 15:16:38 -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 6dba8aee..04070825 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -334,7 +334,7 @@ public class ItemTemplate { item_power_grant.put(power_type, power_value); } - JSONArray item_power_actions = (JSONArray) jsonObject.get("item_user_power_action"); + JSONArray item_power_actions = (JSONArray) jsonObject.get("item_power_action"); if (item_power_actions.isEmpty() == false) for (Object o : item_power_actions) {