diff options
-rw-r--r-- | src/main/java/net/elytrium/limboauth/listener/AuthListener.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/elytrium/limboauth/listener/AuthListener.java b/src/main/java/net/elytrium/limboauth/listener/AuthListener.java index 59ab50d..1bed937 100644 --- a/src/main/java/net/elytrium/limboauth/listener/AuthListener.java +++ b/src/main/java/net/elytrium/limboauth/listener/AuthListener.java @@ -106,9 +106,9 @@ public class AuthListener { } catch (SQLException ex) { ex.printStackTrace(); } + } else { + event.setGameProfile(event.getOriginalProfile().withId(UUID.fromString(currentUuid))); } - - event.setGameProfile(event.getOriginalProfile().withId(UUID.fromString(currentUuid))); } } else if (event.isOnlineMode()) { try { |