mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
vanish into memory fix
This commit is contained in:
parent
5566490b26
commit
e84c8d47a2
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ import mage.MageObject;
|
||||||
import mage.MageObjectReference;
|
import mage.MageObjectReference;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.DelayedTriggeredAbility;
|
import mage.abilities.DelayedTriggeredAbility;
|
||||||
import mage.abilities.common.delayed.AtTheBeginOfNextUpkeepDelayedTriggeredAbility;
|
import mage.abilities.common.delayed.AtTheBeginOfYourNextUpkeepDelayedTriggeredAbility;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
import mage.abilities.effects.OneShotEffect;
|
||||||
import mage.abilities.effects.ReplacementEffectImpl;
|
import mage.abilities.effects.ReplacementEffectImpl;
|
||||||
import mage.cards.Card;
|
import mage.cards.Card;
|
||||||
|
@ -103,7 +103,7 @@ class VanishIntoMemoryEffect extends OneShotEffect {
|
||||||
if (card != null) {
|
if (card != null) {
|
||||||
//create delayed triggered ability
|
//create delayed triggered ability
|
||||||
DelayedTriggeredAbility delayedAbility
|
DelayedTriggeredAbility delayedAbility
|
||||||
= new AtTheBeginOfNextUpkeepDelayedTriggeredAbility(new VanishIntoMemoryReturnFromExileEffect(new MageObjectReference(card, game)));
|
= new AtTheBeginOfYourNextUpkeepDelayedTriggeredAbility(new VanishIntoMemoryReturnFromExileEffect(new MageObjectReference(card, game)));
|
||||||
delayedAbility.setSourceId(source.getSourceId());
|
delayedAbility.setSourceId(source.getSourceId());
|
||||||
delayedAbility.setControllerId(source.getControllerId());
|
delayedAbility.setControllerId(source.getControllerId());
|
||||||
delayedAbility.setSourceObject(source.getSourceObject(game), game);
|
delayedAbility.setSourceObject(source.getSourceObject(game), game);
|
||||||
|
|
Loading…
Reference in a new issue