mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Fix #8202
This commit is contained in:
parent
ec4feaddfe
commit
09b37a94f8
1 changed files with 1 additions and 1 deletions
|
|
@ -1008,7 +1008,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
if (card.moveToZone(Zone.LIBRARY, source, game, true)
|
||||
&& !(card instanceof PermanentToken) && !card.isCopy()) {
|
||||
Card cardInLib = getLibrary().getFromTop(game);
|
||||
if (cardInLib != null && cardInLib.getId().equals(card.getId())) { // check needed because e.g. commander can go to command zone
|
||||
if (cardInLib != null && cardInLib.getId().equals(card.getMainCard().getId())) { // check needed because e.g. commander can go to command zone
|
||||
cardInLib = getLibrary().removeFromTop(game);
|
||||
getLibrary().putCardToTopXPos(cardInLib, xFromTheTop, game);
|
||||
game.informPlayers((withName ? cardInLib.getLogName() : "A card")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue