diff --git a/src/main/java/net/elytrium/limboauth/LimboAuth.java b/src/main/java/net/elytrium/limboauth/LimboAuth.java index 1b459a67..b868ec28 100644 --- a/src/main/java/net/elytrium/limboauth/LimboAuth.java +++ b/src/main/java/net/elytrium/limboauth/LimboAuth.java @@ -632,12 +632,15 @@ private void sendPlayer(TaskEvent event, RegisteredPlayer registeredPlayer) { switch (event.getResult()) { case BYPASS: { - this.factory.passLoginLimbo(player); - this.cacheAuthUser(player); try { - this.updateLoginData(player); - } catch (SQLException e) { - throw new SQLRuntimeException(e); + this.cacheAuthUser(player); + try { + this.updateLoginData(player); + } catch (SQLException e) { + throw new SQLRuntimeException(e); + } + } finally { + this.factory.passLoginLimbo(player); } break; }