mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
- Little fix Twilight Shepherd
This commit is contained in:
parent
aee38cbdc8
commit
ed16a20b51
1 changed files with 3 additions and 1 deletions
|
|
@ -110,7 +110,9 @@ class TwilightShepherdEffect extends OneShotEffect<TwilightShepherdEffect> {
|
|||
Set<UUID> cardsInGraveyardId = watcher.getCardsPutToGraveyardFromBattlefield();
|
||||
for (UUID cardId : cardsInGraveyardId) {
|
||||
Card card = game.getCard(cardId);
|
||||
if (card != null && card.getOwnerId().equals(source.getControllerId())) {
|
||||
if (card != null
|
||||
&& card.getOwnerId().equals(source.getControllerId())
|
||||
&& game.getState().getZone(card.getId()).match(Zone.GRAVEYARD)) {
|
||||
applied = card.moveToZone(Zone.HAND, source.getSourceId(), game, false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue