From 7442eebe03996ae20cc6e7d16ecd0ae6abe52519 Mon Sep 17 00:00:00 2001 From: Petr Ilin Date: Tue, 12 Apr 2022 20:08:16 +0300 Subject: "null hash" issue fix --- src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/elytrium/limboauth') diff --git a/src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java b/src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java index 87fb072..71519d8 100644 --- a/src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java +++ b/src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java @@ -85,7 +85,7 @@ public class RegisteredPlayer { } public String getHash() { - return this.hash; + return this.hash == null ? "" : this.hash; } public void setIP(String ip) { -- cgit