From 612d863883705ba6d712c4fbda7b97cfefd697ca Mon Sep 17 00:00:00 2001 From: Ben Homer Date: Tue, 27 Jun 2017 17:42:36 -0500 Subject: [PATCH] Fixed bug where PlayerResponse toString throws an error sometimes. --- .../Mage.Player.Human/src/mage/player/human/PlayerResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/PlayerResponse.java b/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/PlayerResponse.java index 601ccd3d6a..fc7b27bed8 100644 --- a/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/PlayerResponse.java +++ b/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/PlayerResponse.java @@ -50,7 +50,7 @@ public class PlayerResponse implements Serializable { } public String toString() { - return new StringBuilder(responseString) + return new StringBuilder((responseString == null) ? "null" : responseString) .append(',') .append(responseUUID) .append(',')