aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-04-12 20:08:16 +0300
committerPetr Ilin <hevav@hevav.dev>2022-04-12 20:08:16 +0300
commit7442eebe03996ae20cc6e7d16ecd0ae6abe52519 (patch)
tree9f7f0cac7f2acb4fc5369ccf8b2886ba3d5f2ea3 /src/main/java/net/elytrium/limboauth
parent085dc09462c0eb84726713fb8d691a75d30b30d0 (diff)
downloadLimboAuth-7442eebe03996ae20cc6e7d16ecd0ae6abe52519.tar.gz
LimboAuth-7442eebe03996ae20cc6e7d16ecd0ae6abe52519.tar.bz2
LimboAuth-7442eebe03996ae20cc6e7d16ecd0ae6abe52519.zip
"null hash" issue fix
Diffstat (limited to 'src/main/java/net/elytrium/limboauth')
-rw-r--r--src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java2
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) {