diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index a5c443b4..0207808c 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -124,6 +124,9 @@ public class EffectsParser { while (matcher.find()) modValues.add(matcher.group(1).trim()); + if (modValues.get(0).trim().isEmpty()) + Logger.error(modEntries); + effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim()); switch (effectModifier.type) {