From 36852c0bd55e86403438da51e3a23f83687ccc28 Mon Sep 17 00:00:00 2001 From: Ingmar Goudt Date: Sat, 12 Jan 2019 23:03:01 +0100 Subject: [PATCH] fix nullpointer cryOfTheCarnarium --- Mage.Sets/src/mage/cards/c/CryOfTheCarnarium.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/c/CryOfTheCarnarium.java b/Mage.Sets/src/mage/cards/c/CryOfTheCarnarium.java index 3e074e93b7..175626dcd4 100644 --- a/Mage.Sets/src/mage/cards/c/CryOfTheCarnarium.java +++ b/Mage.Sets/src/mage/cards/c/CryOfTheCarnarium.java @@ -102,7 +102,7 @@ class CryOfTheCarnariumReplacementEffect extends ReplacementEffectImpl { Permanent permanent = ((ZoneChangeEvent) event).getTarget(); if (permanent != null) { Player player = game.getPlayer(permanent.getControllerId()); - if (player == null) { + if (player != null) { return player.moveCards(permanent, Zone.EXILED, source, game); } }