Fix header and footer desync (#928)
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user