mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed that cards moved from hand to library were named in the log by default.
This commit is contained in:
parent
e32e7a4638
commit
e8983ae992
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue