Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ public void onConfig(LimboPlayer player) {
return;
}

// FinishedUpdate is already sent, but the client hasn't acknowledged it yet. Vanilla clients answer
// a keepalive received in this window while their outbound protocol is unconfigured and disconnect with
// "Pipeline has no outbound protocol configured", so wait for the acknowledgement like vanilla servers do.
if (!this.playTransition.isDone()) {
return;
}

if (this.keepAlivePending) {
if (++this.keepAlivesSkipped == 2) {
connection.closeWith(this.plugin.getPackets().getTimeOut(this.player.getConnection().getState()));
Expand Down