SwitchCraftCC / sc-goodies

Custom content for the SwitchCraft server
MIT License
10 stars 9 forks source link

Shift state desync between server and client on getting off the seat. #66

Closed Wojbie closed 6 months ago

Wojbie commented 6 months ago

After sitting on valid seat block we press shift to disembark.

This leads to desync between server and client. Client thinks player is standing while server thinks they are sneaking. This means other players will see player as sneaking and server will treat all interactions as sneak clicks while from player perspective they are standing normally and interacting normally.

Pressing shift again removes desynchronisation.