From e8983ae992e8e8a7c2b7e03cb4a52e8c4e0c28ea Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 29 Aug 2015 09:55:58 +0200 Subject: [PATCH] Fixed that cards moved from hand to library were named in the log by default. --- Mage/src/mage/players/PlayerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/players/PlayerImpl.java b/Mage/src/mage/players/PlayerImpl.java index 631b5614a3..dbcd6373b2 100644 --- a/Mage/src/mage/players/PlayerImpl.java +++ b/Mage/src/mage/players/PlayerImpl.java @@ -2983,8 +2983,8 @@ public abstract class PlayerImpl implements Player, Serializable { case LIBRARY: for (Card card : cards) { fromZone = game.getState().getZone(card.getId()); - boolean withName = fromZone.equals(Zone.BATTLEFIELD) || !card.isFaceDown(game); - if (moveCardToLibraryWithInfo(card, source == null ? null : source.getSourceId(), game, fromZone, true, withName)) { + boolean hideCard = fromZone.equals(Zone.HAND) || fromZone.equals(Zone.LIBRARY); + if (moveCardToLibraryWithInfo(card, source == null ? null : source.getSourceId(), game, fromZone, true, !hideCard)) { successfulMovedCards.add(card); } }