Browse Source

Can't be null

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

4
src/engine/ConfigParsing/EffectsParser.java

@ -42,9 +42,7 @@ public class EffectsParser { @@ -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);
}
}

Loading…
Cancel
Save