Fix header and footer desync (#928)

This commit is contained in:
EpicPlayerA10
2023-03-16 07:32:09 +01:00
committed by GitHub
parent 15cce53adf
commit 01f1e1a94e

View File

@@ -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.