Browse Source

Cannot be null

feature-config-parsing2
MagicBot 3 months ago
parent
commit
9b6c8af171
  1. 4
      src/engine/wpak/EffectsParser.java

4
src/engine/wpak/EffectsParser.java

@ -100,9 +100,7 @@ public class EffectsParser {
while (matcher.find()) { while (matcher.find()) {
EffectModifier effectModifier = parseModEntry(matcher.group()); EffectModifier effectModifier = parseModEntry(matcher.group());
effectEntry.mods.add(effectModifier);
if (effectModifier != null)
effectEntry.mods.add(effectModifier);
} }
// Parse Conditions // Parse Conditions

Loading…
Cancel
Save