Browse Source

Update to sparsetype parsing

combat-2
MagicBot 7 months ago
parent
commit
8ce81b144a
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

@ -547,7 +547,7 @@ public class ItemTemplate {
for (Object key : rune_sparse_json.keySet()) { for (Object key : rune_sparse_json.keySet()) {
String sparseType = key.toString(); 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); rune_sparse_data.put(sparseType, sparseValue);
} }

Loading…
Cancel
Save