mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +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()) {
|
||||
player.beginTurn(this);
|
||||
}
|
||||
if (startMessage.isEmpty()) {
|
||||
if (startMessage == null || startMessage.isEmpty()) {
|
||||
startMessage = "Game has started";
|
||||
}
|
||||
fireStatusEvent(startMessage, false);
|
||||
|
|
Loading…
Reference in a new issue