From 5717f48857abeadbc3e4c9ae98dc42359b80e62f Mon Sep 17 00:00:00 2001 From: Jeff Wadsworth Date: Tue, 4 Jan 2022 09:54:46 -0600 Subject: [PATCH] - Fixed #8538 --- Mage.Sets/src/mage/cards/m/MindFlayerTheShadow.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/m/MindFlayerTheShadow.java b/Mage.Sets/src/mage/cards/m/MindFlayerTheShadow.java index 71139a363cf..a409f0d1d69 100644 --- a/Mage.Sets/src/mage/cards/m/MindFlayerTheShadow.java +++ b/Mage.Sets/src/mage/cards/m/MindFlayerTheShadow.java @@ -71,10 +71,10 @@ class MindFlayerTheShadowExileEffect extends OneShotEffect { MindFlayerTheShadowExileEffect() { super(Outcome.Benefit); - staticText = "exile the bottom card of each opponent's library face down. " + - "For as long as those cards remain exiled, you may look at them, " + - "you may cast permanent spells from among them, " + - "and you may spend mana as though it were mana of any color to cast those spells"; + staticText = "exile the bottom card of each opponent's library face down. " + + "For as long as those cards remain exiled, you may look at them, " + + "you may cast permanent spells from among them, " + + "and you may spend mana as though it were mana of any color to cast those spells"; } private MindFlayerTheShadowExileEffect(final MindFlayerTheShadowExileEffect effect) { @@ -144,7 +144,9 @@ class MindFlayerTheShadowCastFromExileEffect extends AsThoughEffectImpl { return false; } Card theCard = game.getCard(objectId); - if (theCard == null || theCard.isLand(game)) { + if (theCard == null + || theCard.isLand(game) + || !theCard.isPermanent(game)) { return false; } objectId = theCard.getMainCard().getId(); // for split cards