diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 37c01392..cea341a8 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -67,7 +67,7 @@ public class PowersParser { while (matcher.find()) { conditionString.append(matcher.group()); - powerString.append(matcher.start()); + powerString.append(powerData, endPos, matcher.start()); endPos = matcher.end(); }