mirror of
https://github.com/Retera/WarsmashModEngine.git
synced 2022-07-31 17:38:59 +02:00
Server logging
This commit is contained in:
parent
72c5294412
commit
85358c1173
@ -139,7 +139,7 @@ public class WarsmashServer implements ClientToServerListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void finishedTurn(final SocketAddress sourceAddress, final int gameTurnTick) {
|
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) {
|
if (!this.gameStarted) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
"Client should not send us finishedTurn() message when game has not started!");
|
"Client should not send us finishedTurn() message when game has not started!");
|
||||||
|
Loading…
Reference in New Issue
Block a user