aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWruczek <wruczekk@gmail.com>2023-03-20 22:30:48 +0100
committerGitHub <noreply@github.com>2023-03-21 00:30:48 +0300
commite6a790b52b8313e0fc242bcd35e6aa2dd5e7ce94 (patch)
tree115e612a124b226e5282ddfd412661066a62ab3c /src
parent3f5c7e4d046073f93aab5925627d528cbae06a30 (diff)
downloadLimboAuth-e6a790b52b8313e0fc242bcd35e6aa2dd5e7ce94.tar.gz
LimboAuth-e6a790b52b8313e0fc242bcd35e6aa2dd5e7ce94.tar.bz2
LimboAuth-e6a790b52b8313e0fc242bcd35e6aa2dd5e7ce94.zip
Fix getLoginIp method returning UUID instead of last IP (#86)HEADmaster
Diffstat (limited to 'src')
-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 a971d25..b76d33c 100644
--- a/src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java
+++ b/src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java
@@ -205,7 +205,7 @@ public class RegisteredPlayer {
}
public String getLoginIp() {
- return this.loginIp == null ? "" : this.uuid;
+ return this.loginIp == null ? "" : this.loginIp;
}
public RegisteredPlayer setLoginIp(String loginIp) {