Skip to content

Commit

Permalink
fix: remove unnecessary(?) if check from disconnect event
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmakila committed Jul 16, 2024
1 parent 97ca3e6 commit 72a4b2b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public void onLogin(PostLoginEvent event) {

@Subscribe
public void onDisconnect(DisconnectEvent event) {
if (event.getLoginStatus() != DisconnectEvent.LoginStatus.SUCCESSFUL_LOGIN) return;
this.proxyChat.handleDisconnect(event.getPlayer().getUniqueId());
}
}

0 comments on commit 72a4b2b

Please sign in to comment.