3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00

Fix header and footer desync (#928)

Dieser Commit ist enthalten in:
EpicPlayerA10 2023-03-16 07:32:09 +01:00 committet von GitHub
Ursprung 15cce53adf
Commit 01f1e1a94e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -102,6 +102,9 @@ public class TransitionSessionHandler implements MinecraftSessionHandler {
// Send keep alive to try to avoid timeouts // Send keep alive to try to avoid timeouts
player.sendKeepAlive(); 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. // The goods are in hand! We got JoinGame. Let's transition completely to the new state.