diff options
author | Petr Ilin <hevav@hevav.dev> | 2022-04-12 20:08:16 +0300 |
---|---|---|
committer | Petr Ilin <hevav@hevav.dev> | 2022-04-12 20:08:16 +0300 |
commit | 7442eebe03996ae20cc6e7d16ecd0ae6abe52519 (patch) | |
tree | 9f7f0cac7f2acb4fc5369ccf8b2886ba3d5f2ea3 | |
parent | 085dc09462c0eb84726713fb8d691a75d30b30d0 (diff) | |
download | LimboAuth-7442eebe03996ae20cc6e7d16ecd0ae6abe52519.tar.gz LimboAuth-7442eebe03996ae20cc6e7d16ecd0ae6abe52519.tar.bz2 LimboAuth-7442eebe03996ae20cc6e7d16ecd0ae6abe52519.zip |
"null hash" issue fix
-rw-r--r-- | src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |