Browse Source

Update to sparsetype parsing

combat-2
MagicBot 7 months ago
parent
commit
576f4af433
  1. 4
      src/engine/objects/ItemTemplate.java

4
src/engine/objects/ItemTemplate.java

@ -547,8 +547,8 @@ public class ItemTemplate { @@ -547,8 +547,8 @@ public class ItemTemplate {
for (Object key : rune_sparse_json.keySet()) {
String sparseType = key.toString();
String sparseValue = rune_sparse_json.getString(sparseType);
rune_sparse_data.put(sparseType, sparseValue);
Object sparseValue = rune_sparse_json.get(sparseType);
rune_sparse_data.put(sparseType, sparseValue.toString());
}
JSONArray skill_adj_json = (JSONArray) jsonObject.get("rune_skill_adj");

Loading…
Cancel
Save