From 355a98f2829a7526f8db2fc25f3aed9b0ddc3b54 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 6 Dec 2014 10:34:17 +0100 Subject: [PATCH] * Fixed that face down cards moved from exile to hand are wrongly revealed in log (e.g. Necropotence). --- Mage/src/mage/players/PlayerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage/src/mage/players/PlayerImpl.java b/Mage/src/mage/players/PlayerImpl.java index fbe613214d..14c96313df 100644 --- a/Mage/src/mage/players/PlayerImpl.java +++ b/Mage/src/mage/players/PlayerImpl.java @@ -2706,12 +2706,13 @@ public abstract class PlayerImpl implements Player, Serializable { @Override public boolean moveCardToHandWithInfo(Card card, UUID sourceId, Game game, Zone fromZone) { boolean result = false; + boolean faceDown = card.isFaceDown(); // move sets card to face up if (card.moveToZone(Zone.HAND, sourceId, game, false)) { if (card instanceof PermanentCard) { card = game.getCard(card.getId()); } game.informPlayers(new StringBuilder(this.getName()) - .append(" puts ").append(card.isFaceDown() ? " a face down card":card.getLogName()).append(" ") + .append(" puts ").append(faceDown ? " a face down card":card.getLogName()).append(" ") .append(fromZone != null ? new StringBuilder("from ").append(fromZone.toString().toLowerCase(Locale.ENGLISH)).append(" "):"") .append(card.getOwnerId().equals(this.getId()) ? "into his or her hand":"into its owner's hand").toString()); result = true;