diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 9a25af00..12c5d847 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -473,8 +473,10 @@ public class ItemTemplate { 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")); + JSONObject rune_group = (JSONObject) jsonObject.get("rune_group"); + + rune_group_type = ((Long) rune_group.get("group_type")).intValue(); + rune_group_is_faction = ((Boolean) rune_group.get("group_is_faction")); rune_group_is_guild = ((Boolean) jsonObject.get("rune_group_is_guild")); rune_dsc = (String) jsonObject.get("rune_dsc"); rune_fx_txt = (String) jsonObject.get("rune_fx_txt");