From 0dc8eeee9076380a2619ae54464b3c45d2622bcb Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 07:54:14 -0400 Subject: [PATCH] More PowerEntry parsing work. --- src/engine/wpak/PowersParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index aa623575..323f8810 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -234,7 +234,7 @@ public class PowersParser { case "WEAROFFEFFECTOTHER": case "WEAROFFEFFECTSELF": break; - case "MONSTERRESTRICTS": + case "MONSTERTYPERESTRICTS": arguments = lineValues[1].trim().split("\\s+"); for (String restriction : arguments) powerEntry.monsterRestricts.add(mbEnums.MonsterType.valueOf(restriction.trim()));