From 8ce81b144af576cd6d5b2098bd4037853b7080b7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 22 Apr 2024 13:01:25 -0400 Subject: [PATCH] Update to sparsetype parsing --- 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 8f61fb9d..e4f54e5b 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -547,7 +547,7 @@ public class ItemTemplate { for (Object key : rune_sparse_json.keySet()) { String sparseType = key.toString(); - String sparseValue = (String) rune_sparse_json.get(sparseType); + String sparseValue = rune_sparse_json.getString(sparseType); rune_sparse_data.put(sparseType, sparseValue); }