mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
fixed Gyruda, Doom of Depths not getting cards back from exile
This commit is contained in:
parent
4c0f7a3a71
commit
4a5e3e6482
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ class GyrudaDoomOfDepthsEffect extends OneShotEffect {
|
|||
.flatMap(Collection::stream)
|
||||
.forEach(cards::add);
|
||||
controller.moveCards(cards, Zone.GRAVEYARD, source, game);
|
||||
cards.removeIf(cardId -> game.getState().getZone(cardId) != Zone.GRAVEYARD);
|
||||
cards.removeIf(cardId -> game.getState().getZone(cardId) != Zone.GRAVEYARD
|
||||
&& game.getState().getZone(cardId) != Zone.EXILED);
|
||||
if (cards.isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue