Skip to content

Commit

Permalink
fix: try fix issue #305
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Jul 14, 2024
1 parent f8baa1b commit 2fad669
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public void handleDisconnect() {
// cheaters will be able to create a lot of fake clients and make the server OOM
onDisconnect();
server.onDisconnect(player, disconnectReason);
disconnectReason = null;
}
}

Expand Down

0 comments on commit 2fad669

Please sign in to comment.