|
|
@ -354,8 +354,9 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
if (powerGrantsArray.isEmpty() == false) { |
|
|
|
if (powerGrantsArray.isEmpty() == false) { |
|
|
|
|
|
|
|
|
|
|
|
for (Object grantEntry : powerGrantsArray) { |
|
|
|
for (Object grantArrayEntry : powerGrantsArray) { |
|
|
|
JSONObject powerGrant = (JSONObject) grantEntry; |
|
|
|
JSONObject powerGrantEntry = (JSONObject) grantArrayEntry; |
|
|
|
|
|
|
|
JSONObject powerGrant = (JSONObject) powerGrantEntry.get("granted_powers"); |
|
|
|
|
|
|
|
|
|
|
|
for (Object key : powerGrant.keySet()) { |
|
|
|
for (Object key : powerGrant.keySet()) { |
|
|
|
String powerString = (String) key; |
|
|
|
String powerString = (String) key; |
|
|
|