Browse Source

Both sparse fields parsed

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

2
src/engine/objects/ItemTemplate.java

@ -495,7 +495,7 @@ public class ItemTemplate { @@ -495,7 +495,7 @@ public class ItemTemplate {
rune_renderable = ((Boolean) jsonObject.get("rune_renderable"));
rune_natural_power_attack = ((Long) jsonObject.get("rune_natural_power_attack")).intValue();
JSONObject rune_sparse_json = (JSONObject) jsonObject.get("rune_speed");
JSONObject rune_sparse_json = (JSONObject) jsonObject.get("rune_sparse_data");
for (Object key : rune_sparse_json.keySet()) {
String sparseType = (String) key;

Loading…
Cancel
Save