From 83dd47d22a7464dd0c201b36fe7c892707de3e84 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 4 Apr 2024 10:46:40 -0400 Subject: [PATCH] Test --- src/engine/objects/ItemTemplate.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index ecaa0074..1a11bc04 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -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"));