From 0bf345611999d7eab7991592ebe008974650b40b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 10 Aug 2024 18:45:23 -0400 Subject: [PATCH] Effect Modifier parsing work. --- src/engine/ConfigParsing/EffectsParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 0207808c..1a153f91 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -119,7 +119,7 @@ public class EffectsParser { for (String modEntry : modEntries) { ArrayList modValues = new ArrayList<>(); - Matcher matcher = STRSPLIT_REGEX.matcher(modEntry); + Matcher matcher = STRSPLIT_REGEX.matcher(modEntry.trim()); while (matcher.find()) modValues.add(matcher.group(1).trim());