Replicate vanilla physics, make pathing movements smooth

This commit is contained in:
Tom
2020-09-25 23:24:12 -07:00
parent 8384eb99de
commit cadc1cab3a
5 changed files with 159 additions and 75 deletions

View File

@ -32,7 +32,6 @@ func (c *Client) updateServerPos(pos player.Pos) error {
sendPlayerLookPacket(c)
case prev.OnGround != pos.OnGround:
c.conn.WritePacket(
//ClientSettings packet (serverbound)
pk.Marshal(
data.Flying,
pk.Boolean(pos.OnGround),