Browse Source

More PowerEntry work.

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

4
src/engine/wpak/PowersParser.java

@ -74,8 +74,8 @@ public class PowersParser {
// Cleanup dangling tags and lines that contain a # and leading/trailing blank lines // Cleanup dangling tags and lines that contain a # and leading/trailing blank lines
powerString = new StringBuilder(powerString.toString().replaceAll("CONDITIONBEGINCONDITIONEND", "") powerString = new StringBuilder(powerString.toString().replaceAll("CONDITIONBEGINCONDITIONEND", ""));
.replaceAll("(?m)^.*#.*\r?\n?", "")); powerString = new StringBuilder(powerString.toString().replaceAll("(?m)^.*#.*\r?\n?", ""));
conditionString = new StringBuilder(conditionString.toString().replaceAll("(?m)^.*#.*\r?\n?", "")); conditionString = new StringBuilder(conditionString.toString().replaceAll("(?m)^.*#.*\r?\n?", ""));

Loading…
Cancel
Save