mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Propagate Applied Effects with the Flashback Replacement Effect
This fixes a bug that allows replacement loops when other replacement effects conflict with Flashback’s attempts to exile Flashbacked spells.
This commit is contained in:
parent
b7f9626697
commit
396f3b73b1
1 changed files with 2 additions and 1 deletions
|
@ -274,7 +274,8 @@ class FlashbackReplacementEffect extends ReplacementEffectImpl {
|
||||||
if (controller != null) {
|
if (controller != null) {
|
||||||
Card card = game.getCard(event.getTargetId());
|
Card card = game.getCard(event.getTargetId());
|
||||||
if (card != null) {
|
if (card != null) {
|
||||||
return controller.moveCards(card, Zone.EXILED, source, game);
|
return controller.moveCards(
|
||||||
|
card, Zone.EXILED, source, game, false, false, false, event.getAppliedEffects());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue