diff --git a/Mage/src/main/java/mage/abilities/effects/common/RevealAndSeparatePilesEffect.java b/Mage/src/main/java/mage/abilities/effects/common/RevealAndSeparatePilesEffect.java index 35f6d73209..e2e8c98431 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/RevealAndSeparatePilesEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/RevealAndSeparatePilesEffect.java @@ -92,7 +92,11 @@ public class RevealAndSeparatePilesEffect extends OneShotEffect { Target targetOpponent = new TargetOpponent(true); controller.chooseTarget(Outcome.Neutral, targetOpponent, source, game); opponent = game.getPlayer(targetOpponent.getFirstTarget()); - game.informPlayers(controller.getLogName() + " chose " + opponent.getLogName() + " to " + message); + if (opponent != null) { + game.informPlayers(controller.getLogName() + " chose " + opponent.getLogName() + " to " + message); + } else { + game.informPlayers(controller.getLogName() + " chose nothing" + " to " + message); + } } return opponent; }