lots of fixes - mainly to continuous effects and zone changes

This commit is contained in:
BetaSteward 2010-11-23 05:08:45 +00:00
parent b1858396a5
commit 0cd0b7045a
93 changed files with 600 additions and 348 deletions

View file

@ -31,10 +31,8 @@ package mage.abilities.effects.common;
import mage.Constants.Duration;
import mage.Constants.Outcome;
import mage.Constants.TargetController;
import mage.MageObject;
import mage.abilities.Ability;
import mage.abilities.effects.ReplacementEffectImpl;
import mage.filter.FilterObject;
import mage.filter.FilterPermanent;
import mage.filter.FilterStackObject;
import mage.game.Game;
@ -64,8 +62,10 @@ public class CantTargetControlledEffect extends ReplacementEffectImpl<CantTarget
public CantTargetControlledEffect(final CantTargetControlledEffect effect) {
super(effect);
this.filterTarget = effect.filterTarget.copy();
this.filterSource = effect.filterSource.copy();
if (effect.filterTarget != null)
this.filterTarget = effect.filterTarget.copy();
if (effect.filterSource != null)
this.filterSource = effect.filterSource.copy();
}
@Override