diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 260bdf64..383d9ec3 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -100,7 +100,7 @@ public class EffectsParser { while (matcher.find()) { EffectModifier effectModifier = parseModEntry(matcher.group()); - if (effectEntry != null) + if (effectModifier != null) effectEntry.mods.add(effectModifier); }