mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08: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…
Add table
Add a link
Reference in a new issue