diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index c9fe9783..8f2aaf7c 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -66,7 +66,7 @@ public class PowersParser { Matcher matcher = CONDITION_REGEX.matcher(powerData); while (matcher.find()) { - conditionString.append(matcher.group()); + conditionString.append(matcher.group().trim()); powerString.append(powerData, endPos, matcher.start()); endPos = matcher.end(); }