Browse Source

More PowerEntry work.

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

4
src/engine/wpak/PowersParser.java

@ -79,11 +79,11 @@ public class PowersParser { @@ -79,11 +79,11 @@ public class PowersParser {
conditionString = new StringBuilder(conditionString.toString().replaceAll("(?m)^.*#.*\r?\n?", ""));
// Parse header line in power data
String[] lineData = powerString.toString().trim().split("\n");
ArrayList<String> powerHeader = new ArrayList<>();
// Parse header
String headerString = lineData[0];
headerString = headerString.replace("\n", " ");

Loading…
Cancel
Save