From e6a790b52b8313e0fc242bcd35e6aa2dd5e7ce94 Mon Sep 17 00:00:00 2001 From: Wruczek Date: Mon, 20 Mar 2023 22:30:48 +0100 Subject: Fix getLoginIp method returning UUID instead of last IP (#86) --- src/main/java/net/elytrium/limboauth/model/RegisteredPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit