|
|
@ -207,7 +207,7 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
JSONObject disc_required = (JSONObject) jsonObject.get("item_disc_req"); |
|
|
|
JSONObject disc_required = (JSONObject) jsonObject.get("item_disc_req"); |
|
|
|
restrict = ((Boolean) disc_required.get("restrict")); |
|
|
|
restrict = ((Boolean) disc_required.get("restrict")); |
|
|
|
JSONArray discs = (JSONArray) disc_required.get("classes"); |
|
|
|
JSONArray discs = (JSONArray) disc_required.get("discs"); |
|
|
|
|
|
|
|
|
|
|
|
for (Object o : discs) { |
|
|
|
for (Object o : discs) { |
|
|
|
String disc = (String) o; |
|
|
|
String disc = (String) o; |
|
|
|