From e1ffa37af9a27dd57ad59049609c3ce49d55bc72 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Wed, 10 Apr 2013 21:58:27 +0200 Subject: [PATCH] Fixed NPE that broke the tests. --- Mage/src/mage/game/GameImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/mage/game/GameImpl.java b/Mage/src/mage/game/GameImpl.java index b1023b8667..9fec5e24e1 100644 --- a/Mage/src/mage/game/GameImpl.java +++ b/Mage/src/mage/game/GameImpl.java @@ -573,7 +573,7 @@ public abstract class GameImpl> 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);