ViaVersion / ViaBackwards

Allows the connection of older clients to newer server versions for Minecraft servers.
https://hangar.papermc.io/ViaVersion/ViaBackwards
GNU General Public License v3.0
469 stars 89 forks source link

GSit's /sit command causes player to float in 1.20.1 and under #898

Open Kichura opened 1 month ago

Kichura commented 1 month ago

'/viaversion dump' Output

https://dump.viaversion.com/4b655560c83e2676859c31806bd13144783756a0d9f5331894e152ee8c69ff5e

Console Error

(No console errors have been discovered in console)

Bug Description

When playing on 1.20.1 or older on a 1.21[.1] paper server, using GSit's /sit command causes the player to float mid-air instead of properly sitting on the block itself.

1.20.1 POV: 1_20_1

1.20.2 POV: 1_20_2

Steps to Reproduce

  1. Install GSit 1.10.0 to the server,
  2. Get both ViaBackwards and ViaVersion from the jenkins website,
  3. Make a new paper 1.21[.1] server with no config changes applied,
  4. Join the server with vanilla 1.20.1 client or older and run /sit,
  5. Player should float instead of properly sitting.

Expected Behavior

The player is properly sitting on the block like in 1.20.2 and above.

Additional Server Info

  1. This server does not make use of any proxies,
  2. Fedora Linux 40 with Paper 1.21.1, (Build 128)
  3. GSit 1.10.0, ViaVersion 5.1.1-SNAPSHOT and ViaBackwards 5.1.0-SNAPSHOT.

Checklist

Barvalg commented 1 month ago

Platform: 1.21.1--128--d348cb8%20%28MC%3A%201.21.1%29
ViaVersion (5.1.1-SNAPSHOT): Even with master
ViaBackwards(5.1.0): Even with master