From 0abffeeb7fcda8c2aa167258c031ff2471a5e220 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 1 Apr 2024 16:21:56 -0400 Subject: [PATCH] Proper parsing of power grants --- 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 79449a1c..f30683fc 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -356,7 +356,7 @@ public class ItemTemplate { for (Object grantArrayEntry : powerGrantsArray) { JSONObject powerGrantEntry = (JSONObject) grantArrayEntry; - JSONObject powerGrant = (JSONObject) powerGrantEntry.get("granted_powers"); + JSONObject powerGrant = (JSONObject) powerGrantEntry.get("power_granted_powers"); for (Object key : powerGrant.keySet()) { String powerString = (String) key;