mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00: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…
Reference in a new issue