From: JBM Date: Thu, 21 May 2020 19:58:27 +0000 (+0200) Subject: NPE hotfix X-Git-Url: https://troll.desast.re/troll.git/commitdiff_plain/2e02ad69d3b3c4e270682b31969f6662f2aaa101?ds=sidebyside NPE hotfix --- diff --git a/src/main/java/com/codingame/game/Player.java b/src/main/java/com/codingame/game/Player.java index 7204af3..db51bb4 100644 --- a/src/main/java/com/codingame/game/Player.java +++ b/src/main/java/com/codingame/game/Player.java @@ -17,7 +17,7 @@ public class Player extends AbstractMultiplayerPlayer { Sprite castle; Text stone; - private String messageString; + private String messageString = ""; public String getMessageString() { return messageString; } private int castlePosition;