mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
really fix NPE
This commit is contained in:
parent
4fc38b4548
commit
b86a650159
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class PreventAllCombatDamageEffect extends PreventionEffectImpl<PreventAl
|
|||
|
||||
public PreventAllCombatDamageEffect(final PreventAllCombatDamageEffect effect) {
|
||||
super(effect);
|
||||
if (filter != null)
|
||||
if (effect.filter != null)
|
||||
this.filter = effect.filter.copy();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue