mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
Fixed NPE that broke the tests.
This commit is contained in:
parent
fa76004261
commit
e1ffa37af9
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
||||||
for (Player player: state.getPlayers().values()) {
|
for (Player player: state.getPlayers().values()) {
|
||||||
player.beginTurn(this);
|
player.beginTurn(this);
|
||||||
}
|
}
|
||||||
if (startMessage.isEmpty()) {
|
if (startMessage == null || startMessage.isEmpty()) {
|
||||||
startMessage = "Game has started";
|
startMessage = "Game has started";
|
||||||
}
|
}
|
||||||
fireStatusEvent(startMessage, false);
|
fireStatusEvent(startMessage, false);
|
||||||
|
|
Loading…
Reference in a new issue