Server logging

This commit is contained in:
Retera 2021-06-30 00:44:32 -04:00
parent 72c5294412
commit 85358c1173

View File

@ -139,7 +139,7 @@ public class WarsmashServer implements ClientToServerListener {
@Override
public void finishedTurn(final SocketAddress sourceAddress, final int gameTurnTick) {
// System.out.println("finishedTurn(" + gameTurnTick + ") from " + sourceAddress);
System.out.println("finishedTurn(" + gameTurnTick + ") from " + sourceAddress);
if (!this.gameStarted) {
throw new IllegalStateException(
"Client should not send us finishedTurn() message when game has not started!");