mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Some log improvement for player moves card.
This commit is contained in:
parent
56af185d27
commit
ae9f056e1a
1 changed files with 9 additions and 1 deletions
|
@ -2400,7 +2400,15 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
sb.append("from ").append(fromZone.toString().toLowerCase(Locale.ENGLISH)).append(" ");
|
||||
}
|
||||
}
|
||||
sb.append("to the ").append(toTop ? "top":"bottom").append(" of his or her library");
|
||||
sb.append("to the ").append(toTop ? "top":"bottom");
|
||||
if (card.getOwnerId().equals(getId())) {
|
||||
sb.append(" of his or her library");
|
||||
} else {
|
||||
Player player = game.getPlayer(card.getOwnerId());
|
||||
if (player != null) {
|
||||
sb.append(" of ").append(player.getName()).append("'s library");
|
||||
}
|
||||
}
|
||||
game.informPlayers(sb.toString());
|
||||
result = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue