mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fixed a bug in TargetSpellOrPermanent.
This commit is contained in:
parent
487350016c
commit
c18345ef85
1 changed files with 8 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue