diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 2f159242..2afec01c 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -530,14 +530,14 @@ public class ItemTemplate { JSONArray groupee_types_json = jsonObject.getJSONArray("rune_groupee_monster_types"); for (Object o : groupee_types_json) { - int groupeeId = Long.valueOf((int) o).intValue(); + int groupeeId = (int) o; rune_groupee_monster_types.add(groupeeId); } JSONArray helper_types_json = jsonObject.getJSONArray("rune_helper_monster_types"); for (Object o : helper_types_json) { - int helperId = Long.valueOf((int) o).intValue(); + int helperId = (int) o; rune_helper_monster_types.add(helperId); }