Browse Source

Test

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

4
src/engine/objects/ItemTemplate.java

@ -467,12 +467,12 @@ public class ItemTemplate { @@ -467,12 +467,12 @@ public class ItemTemplate {
JSONObject rune_speed_json = (JSONObject) jsonObject.get("rune_speed");
for (Object key : rune_speed_json.keySet()) {
/* for (Object key : rune_speed_json.keySet()) {
Enum.MovementType movementType = Enum.MovementType.valueOf((String) key);
float speed = ((Double) rune_speed_json.get(key)).floatValue();
rune_speed.put(movementType, speed);
}
*/
rune_group_type = ((Long) jsonObject.get("rune_group_type")).intValue();
rune_group_is_faction = ((Boolean) jsonObject.get("rune_group_is_faction"));
rune_group_is_guild = ((Boolean) jsonObject.get("rune_group_is_guild"));

Loading…
Cancel
Save