1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-08 17:00:07 -09:00

fixed NPE

This commit is contained in:
BetaSteward 2011-10-15 23:42:35 -04:00
parent a21e815ae9
commit 6fb8ecbf81

View file

@ -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