Browse Source

Proper parsing of power grants

combat-2
MagicBot 8 months ago
parent
commit
0abffeeb7f
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

@ -356,7 +356,7 @@ public class ItemTemplate { @@ -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;

Loading…
Cancel
Save