Proper parsing of power grants
This commit is contained in:
@@ -358,6 +358,10 @@ public class ItemTemplate {
|
|||||||
JSONObject powerGrantEntry = (JSONObject) grantArrayEntry;
|
JSONObject powerGrantEntry = (JSONObject) grantArrayEntry;
|
||||||
JSONArray powerGrants = (JSONArray) powerGrantEntry.get("power_granted_powers");
|
JSONArray powerGrants = (JSONArray) powerGrantEntry.get("power_granted_powers");
|
||||||
|
|
||||||
|
for (Object grantedPowerEntry : powerGrants) {
|
||||||
|
JSONObject grantedPower = (JSONObject) grantedPowerEntry;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user