Fixed a bug in TargetSpellOrPermanent.

This commit is contained in:
LevelX2 2012-11-21 23:22:27 +01:00
parent 487350016c
commit c18345ef85

View file

@ -29,6 +29,9 @@
*/ */
package mage.target.common; package mage.target.common;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import mage.Constants.Zone; import mage.Constants.Zone;
import mage.MageObject; import mage.MageObject;
import mage.abilities.Ability; import mage.abilities.Ability;
@ -42,9 +45,6 @@ import mage.game.stack.Spell;
import mage.game.stack.StackObject; import mage.game.stack.StackObject;
import mage.target.TargetImpl; import mage.target.TargetImpl;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
/** /**
* *
@ -85,6 +85,7 @@ public class TargetSpellOrPermanent extends TargetImpl<TargetSpellOrPermanent> {
public TargetSpellOrPermanent(final TargetSpellOrPermanent target) { public TargetSpellOrPermanent(final TargetSpellOrPermanent target) {
super(target); super(target);
this.filter = target.filter.copy(); this.filter = target.filter.copy();
this.filterPermanent = target.filterPermanent.copy();
} }
@Override @Override