From 5f7465194e5558ae58bab2f2163904b467b14661 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 21 Aug 2024 12:39:45 -0400 Subject: [PATCH] List not arraylist --- src/engine/wpak/EffectsParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();