'/viaversion dump' Output
https://dump.viaversion.com/07cc962f75fb8ba1a872c90960210b2a35c95e06cf4825841657576ddc15d988
Server/Client Error
No response
Bug Description
When dismouting vehicle sneak desync happens. Server thinks player is sneaking, while client is not sneaking.
https://youtu.be/sifDeveoImo
Steps to Reproduce
- Log in with 1.21.1 client on 1.21.4 server
- Enter vehicle
- Press sneak to leave vehicle (press and release immediately).
- Sneak desync eventually should happen.
Code i use to debug.
@EventHandler
public void onSneakToggle(PlayerToggleSneakEvent event) {
event.getPlayer().sendMessage("isSneaking: " + event.isSneaking());
}
Normally what you should see when leaving vehicle:
isSneaking: true
isSneaking: false
What actually happens
isSneaking: false is missing
Pressing sneak again when desync happens cause:
isSneaking: true
isSneaking: true
isSneaking: false
Anticheats are not happy about this desync.
Notes: Looks like sneak desync only happens on low ping. When raising ping using clumpsy i am unable to trigger desync. My normal ping to test server is ~50.
Expected Behavior
No sneak desync.
Additional Server Info
No response
Checklist
'/viaversion dump' Output
https://dump.viaversion.com/07cc962f75fb8ba1a872c90960210b2a35c95e06cf4825841657576ddc15d988
Server/Client Error
No response
Bug Description
When dismouting vehicle sneak desync happens. Server thinks player is sneaking, while client is not sneaking.
https://youtu.be/sifDeveoImo
Steps to Reproduce
Code i use to debug.
Normally what you should see when leaving vehicle:
What actually happens
isSneaking: falseis missingPressing sneak again when desync happens cause:
Anticheats are not happy about this desync.
Notes: Looks like sneak desync only happens on low ping. When raising ping using clumpsy i am unable to trigger desync. My normal ping to test server is ~50.
Expected Behavior
No sneak desync.
Additional Server Info
No response
Checklist