mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +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("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());
|
game.informPlayers(sb.toString());
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue