From d836f8080548834e06f96a3cb8ac7964cfdef9f6 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 05:38:25 -0400 Subject: [PATCH] More PowerEntry 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 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(); }