Browse Source

List not arraylist

feature-config-parsing2
MagicBot 3 months ago
parent
commit
5f7465194e
  1. 2
      src/engine/wpak/EffectsParser.java

2
src/engine/wpak/EffectsParser.java

@ -128,7 +128,7 @@ public class EffectsParser { @@ -128,7 +128,7 @@ public class EffectsParser {
List<String> conditions = new ArrayList<>(Arrays.asList(matcher.group().trim().split("\n")));
for (String condition : conditions) {
List<String> parameters = new ArrayList<>(Arrays.asList(condition.trim().split("\\s+")));
List<String> parameters = Arrays.asList(condition.trim().split("\\s+"));
Iterator<String> iterator = parameters.iterator();
ConditionEntry conditionEntry = new ConditionEntry();

Loading…
Cancel
Save