Fixed issue where one could see the "next" card on top of the library while casting the current one.  Example, Bolas's Citadel ability.
@@ -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;
}
