valence-rs/valence

Send PlayerSpawnPositionS2c Packet on Layer and Position Change

Opened this issue · 1 comments

Describe the problem related to your feature request.

When a player's position is updated after their layer has been changed, the client does not properly update the position without the additional packet: 0x50 PlayerSpawnPositionS2c.

What solution would you like?

A system, that triggers when a players layer and position is changed and sends this additional packet

I am planning to submit a PR to address this issue.

dyc3 commented

Why does this matter? It's not clear what the effect that the player spawn packet has on the state of the client.