From f39434a24854ec3a75326fb3d3e35352ccfc63ee Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 27 Feb 2024 15:36:18 -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 54dbe60e..2fb32306 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -343,7 +343,7 @@ public class ItemTemplate { JSONArray power_actions = (JSONArray) powerActionEntry.get("power_actions"); //int[] power_arguments = {((Long) args.get(0)).intValue(), ((Long) args.get(1)).intValue()}; - item_power_action.put(power, 1); + item_power_action.put(power, new int[]{1, 1}); } } catch (Exception e) {