mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
- Fixed issue where one could see the "next" card on top of the library while casting the current one. Example, Bolas's Citadel ability.
This commit is contained in:
parent
cc0679b6d3
commit
a37c9da789
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ public class LookAtTopCardOfLibraryAnyTimeEffect extends ContinuousEffectImpl {
|
|||
if (obj == null) {
|
||||
return true;
|
||||
}
|
||||
if (!game.getState().getStack().isEmpty()) { // if a card is on the stack, don't allow it
|
||||
return true;
|
||||
}
|
||||
controller.lookAtCards("Top card of " + obj.getIdName() + " controller's library", topCard, game);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue