From ff7bd7a6993edade5d03d50a52c3a0063e78859e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 10 Aug 2024 18:33:08 -0400 Subject: [PATCH] Effect Modifier parsing work. --- src/engine/ConfigParsing/EffectsParser.java | 3 +++ 1 file changed, 3 insertions(+) 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) {