From 27971c5fb33dbadd69b96fca0eaf1f3b1599c123 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 4 Apr 2024 13:18:37 -0400 Subject: [PATCH] not_enemy_types_json parsed --- src/engine/objects/ItemTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index d9884aa6..5ca557f9 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -504,7 +504,7 @@ public class ItemTemplate { JSONArray not_enemy_types_json = (JSONArray) jsonObject.get("rune_not_enemy_monster_types"); - for (Object o : enemy_types_json) { + for (Object o : not_enemy_types_json) { String notenemy = (String) o; notenemy = notenemy.replaceAll("-", ""); Enum.MonsterType monsterType = Enum.MonsterType.valueOf(notenemy);