Fixed bug where PlayerResponse toString throws an error sometimes.

This commit is contained in:
Ben Homer 2017-06-27 17:42:36 -05:00
parent fee630a0ac
commit 612d863883

View file

@ -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(',')