From 9b6c8af17183ec05668d6028cc8c53aa097a02c7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 14 Aug 2024 17:18:36 -0400 Subject: [PATCH] Cannot be null --- src/engine/wpak/EffectsParser.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine/wpak/EffectsParser.java b/src/engine/wpak/EffectsParser.java index 2aa9833b..7c89a28d 100644 --- a/src/engine/wpak/EffectsParser.java +++ b/src/engine/wpak/EffectsParser.java @@ -100,9 +100,7 @@ public class EffectsParser { while (matcher.find()) { EffectModifier effectModifier = parseModEntry(matcher.group()); - - if (effectModifier != null) - effectEntry.mods.add(effectModifier); + effectEntry.mods.add(effectModifier); } // Parse Conditions