From 387f75766f885c232994bf2b74d22aea952c8ef5 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 17 Aug 2024 15:36:03 -0400 Subject: [PATCH] Debug output --- src/engine/wpak/PowersParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 7bbb7c13..fe12cfe8 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -61,6 +61,9 @@ public class PowersParser { while (matcher.find()) powerHeader.add(matcher.group().trim()); + if (powerHeader.size() != 22) + Logger.error(headerString); + java.util.Iterator iterator = powerHeader.iterator(); powerEntry.power_id = iterator.next();