1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-03-31 09:15:41 -09:00

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() { public String toString() {
return new StringBuilder(responseString) return new StringBuilder((responseString == null) ? "null" : responseString)
.append(',') .append(',')
.append(responseUUID) .append(responseUUID)
.append(',') .append(',')