fix game log message for Banding (#11021)

This commit is contained in:
Susucre 2023-08-26 03:10:51 +02:00 committed by GitHub
parent b0b55d2de3
commit eec5bceb71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -433,8 +433,9 @@ public class Combat implements Serializable, Copyable<Combat> {
if (!isBanded) {
return;
}
int bandSize = attacker.getBandedCards().size() + 1;
StringBuilder sb = new StringBuilder(player.getLogName()).append(" formed a band with ")
.append(attacker.getBandedCards().size()).append(1).append(" creatures: ");
.append(bandSize).append(" creatures: ");
sb.append(attacker.getLogName());
for (UUID id : attacker.getBandedCards()) {
sb.append(", ");