diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 89127993..faf44bab 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -65,8 +65,12 @@ public class PowerActionParser { Iterator iterator = Arrays.stream(lineData).iterator(); String headerLine = iterator.next().toString(); + ArrayList headerData = new ArrayList<>(); - ArrayList effectHeader = new ArrayList<>(); + Matcher matcher = STRSPLIT_REGEX.matcher(headerLine.trim()); + + while (matcher.find()) + headerData.add(matcher.group().trim()); return powerActionEntry; }