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());