From 98d135df45ff94114ad6e39e1452a67a35297bcf Mon Sep 17 00:00:00 2001 From: "richard.coates" Date: Wed, 18 Apr 2018 16:38:14 +0200 Subject: [PATCH] Rename functionality. --- Mage.Sets/src/mage/cards/p/PrecognitionField.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/p/PrecognitionField.java b/Mage.Sets/src/mage/cards/p/PrecognitionField.java index 2fbe568797..35bcd71b5f 100644 --- a/Mage.Sets/src/mage/cards/p/PrecognitionField.java +++ b/Mage.Sets/src/mage/cards/p/PrecognitionField.java @@ -142,8 +142,8 @@ class PrecognitionFieldTopCardCastEffect extends AsThoughEffectImpl { Player controller = game.getPlayer(affectedControllerId); if (controller != null) { Card topCard = controller.getLibrary().getFromTop(game); - MageObject vizierOfTheMenagerie = game.getObject(source.getSourceId()); - if (vizierOfTheMenagerie != null + MageObject precognitionField = game.getObject(source.getSourceId()); + if (precognitionField != null && topCard != null) { return topCard == card && (topCard.isInstant() || topCard.isSorcery())