diff --git a/src/engine/wpak/EffectsParser.java b/src/engine/wpak/EffectsParser.java index 90bc11c9..cba17f79 100644 --- a/src/engine/wpak/EffectsParser.java +++ b/src/engine/wpak/EffectsParser.java @@ -128,7 +128,7 @@ public class EffectsParser { List conditions = new ArrayList<>(Arrays.asList(matcher.group().trim().split("\n"))); for (String condition : conditions) { - List parameters = new ArrayList<>(Arrays.asList(condition.trim().split("\\s+"))); + List parameters = Arrays.asList(condition.trim().split("\\s+")); Iterator iterator = parameters.iterator(); ConditionEntry conditionEntry = new ConditionEntry();