mirror of
https://github.com/correl/mage.git
synced 2025-04-08 17:00:07 -09:00
fixed NPE
This commit is contained in:
parent
a21e815ae9
commit
6fb8ecbf81
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ public class PreventAllCombatDamageEffect extends PreventionEffectImpl<PreventAl
|
|||
|
||||
public PreventAllCombatDamageEffect(final PreventAllCombatDamageEffect effect) {
|
||||
super(effect);
|
||||
this.filter = effect.filter.copy();
|
||||
if (filter != null)
|
||||
this.filter = effect.filter.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue