From 01f1e1a94e8628cc1f1a0966c7f02a902075a8e9 Mon Sep 17 00:00:00 2001 From: EpicPlayerA10 <62206933+EpicPlayerA10@users.noreply.github.com> Date: Thu, 16 Mar 2023 07:32:09 +0100 Subject: [PATCH] Fix header and footer desync (#928) --- .../proxy/connection/backend/TransitionSessionHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/TransitionSessionHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/TransitionSessionHandler.java index 2d8008d24..25cbbef63 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/TransitionSessionHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/TransitionSessionHandler.java @@ -102,6 +102,9 @@ public class TransitionSessionHandler implements MinecraftSessionHandler { // Send keep alive to try to avoid timeouts player.sendKeepAlive(); + + // Reset Tablist header and footer to prevent desync + player.clearHeaderAndFooter(); } // The goods are in hand! We got JoinGame. Let's transition completely to the new state.