Browse Source

PowerActionEntry parsing work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
7e8cb056ed
  1. 6
      src/engine/wpak/PowerActionParser.java

6
src/engine/wpak/PowerActionParser.java

@ -65,8 +65,12 @@ public class PowerActionParser {
Iterator iterator = Arrays.stream(lineData).iterator(); Iterator iterator = Arrays.stream(lineData).iterator();
String headerLine = iterator.next().toString(); String headerLine = iterator.next().toString();
ArrayList<String> headerData = new ArrayList<>();
ArrayList<String> effectHeader = new ArrayList<>(); Matcher matcher = STRSPLIT_REGEX.matcher(headerLine.trim());
while (matcher.find())
headerData.add(matcher.group().trim());
return powerActionEntry; return powerActionEntry;
} }

Loading…
Cancel
Save