not_enemy_types_json parsed

This commit is contained in:
2024-04-04 13:18:37 -04:00
parent 52fab5d92b
commit 27971c5fb3
+1 -1
View File
@@ -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);