Browse Source

Can't be null

feature-config-parsing2
MagicBot 5 months ago
parent
commit
da63d9d926
  1. 2
      src/engine/ConfigParsing/EffectsParser.java

2
src/engine/ConfigParsing/EffectsParser.java

@ -42,8 +42,6 @@ public class EffectsParser {
while (matcher.find()) { while (matcher.find()) {
EffectEntry effectEntry = parseEffectEntry(matcher.group()); EffectEntry effectEntry = parseEffectEntry(matcher.group());
if (effectEntry != null)
effect_data.put(effectEntry.id, effectEntry); effect_data.put(effectEntry.id, effectEntry);
} }
} }

Loading…
Cancel
Save