From a37c9da789b95a9166ecd4868f20875ff003a133 Mon Sep 17 00:00:00 2001 From: jeffwadsworth Date: Fri, 3 Jan 2020 09:05:08 -0600 Subject: [PATCH] - Fixed issue where one could see the "next" card on top of the library while casting the current one. Example, Bolas's Citadel ability. --- .../common/continuous/LookAtTopCardOfLibraryAnyTimeEffect.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mage/src/main/java/mage/abilities/effects/common/continuous/LookAtTopCardOfLibraryAnyTimeEffect.java b/Mage/src/main/java/mage/abilities/effects/common/continuous/LookAtTopCardOfLibraryAnyTimeEffect.java index 52a614f100f..5d97877ba77 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/continuous/LookAtTopCardOfLibraryAnyTimeEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/continuous/LookAtTopCardOfLibraryAnyTimeEffect.java @@ -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; }