From fb7a98761ffddcfd73f5a077cd60461407c20365 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 24 Feb 2024 14:31:08 -0500 Subject: [PATCH] Parsing discs --- src/engine/objects/ItemTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index fd89b11c..a59d8400 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -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;