diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index f07c188e..18cfafb0 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -63,6 +63,10 @@ public class PowersParser { powerHeader.add(matcher.group().trim()); powerEntry.power_id = powerHeader.get(0); + + if (powerHeader.size() != 21) + Logger.error(powerEntry.power_id); + powerEntry.power_name = powerHeader.get(1).replaceAll("\"", ""); powerEntry.power_type = powerHeader.get(2); powerEntry.skill_id = Integer.parseInt(powerHeader.get(3));