mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +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) {
|
public PreventAllCombatDamageEffect(final PreventAllCombatDamageEffect effect) {
|
||||||
super(effect);
|
super(effect);
|
||||||
if (filter != null)
|
if (effect.filter != null)
|
||||||
this.filter = effect.filter.copy();
|
this.filter = effect.filter.copy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue