mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08: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…
Add table
Add a link
Reference in a new issue