Browse Source

More PowerEntry work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
d836f80805
  1. 2
      src/engine/wpak/PowersParser.java

2
src/engine/wpak/PowersParser.java

@ -66,7 +66,7 @@ public class PowersParser {
Matcher matcher = CONDITION_REGEX.matcher(powerData); Matcher matcher = CONDITION_REGEX.matcher(powerData);
while (matcher.find()) { while (matcher.find()) {
conditionString.append(matcher.group()); conditionString.append(matcher.group().trim());
powerString.append(powerData, endPos, matcher.start()); powerString.append(powerData, endPos, matcher.start());
endPos = matcher.end(); endPos = matcher.end();
} }

Loading…
Cancel
Save