really fix NPE

This commit is contained in:
BetaSteward 2011-10-15 23:45:27 -04:00
parent 4fc38b4548
commit b86a650159

View file

@ -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();
}