Browse Source

Parsing discs

combat-2
MagicBot 9 months ago
parent
commit
fb7a98761f
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

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

Loading…
Cancel
Save