diff --git a/Mage/src/main/java/mage/abilities/effects/common/ExileTargetEffect.java b/Mage/src/main/java/mage/abilities/effects/common/ExileTargetEffect.java index d7798ace281..0d1285a3f91 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/ExileTargetEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/ExileTargetEffect.java @@ -1,4 +1,3 @@ - package mage.abilities.effects.common; import java.util.LinkedHashSet; @@ -93,7 +92,8 @@ public class ExileTargetEffect extends OneShotEffect { for (Target target : source.getTargets()) { for (UUID targetId : target.getTargets()) { Permanent permanent = game.getPermanent(targetId); - if (permanent != null) { + if (permanent != null + && permanent.isPhasedIn()) { Zone currentZone = game.getState().getZone(permanent.getId()); if (currentZone != Zone.EXILED && (onlyFromZone == null || onlyFromZone == Zone.BATTLEFIELD)) { toExile.add(permanent); @@ -117,7 +117,8 @@ public class ExileTargetEffect extends OneShotEffect { } else { for (UUID targetId : getTargetPointer().getTargets(game, source)) { Permanent permanent = game.getPermanent(targetId); - if (permanent != null) { + if (permanent != null + && permanent.isPhasedIn()) { Zone currentZone = game.getState().getZone(permanent.getId()); if (currentZone != Zone.EXILED && (onlyFromZone == null || onlyFromZone == Zone.BATTLEFIELD)) { toExile.add(permanent);