From da63d9d926bbf672fc4c5347334efab811aac929 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 11:19:53 -0400 Subject: [PATCH] Can't be null --- src/engine/ConfigParsing/EffectsParser.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 5836e881..f6c5b917 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -42,9 +42,7 @@ public class EffectsParser { while (matcher.find()) { EffectEntry effectEntry = parseEffectEntry(matcher.group()); - - if (effectEntry != null) - effect_data.put(effectEntry.id, effectEntry); + effect_data.put(effectEntry.id, effectEntry); } }