Skip to content

Commit

Permalink
Set correct riding position for entity passengers on vehicle move packet
Browse files Browse the repository at this point in the history
Since Folia moves the connection tick to the beginning of the tick,
the player's position would be incorrectly updated by the move
packet and be used during the tick.

This would cause the player's bounding box to be incorrect, which
would cause incorrect movement collision calculations, such as
colliding with fire.

Fixes PaperMC#119
  • Loading branch information
Spottedleaf committed Jul 10, 2023
1 parent c0631fd commit 62b165b
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 43 deletions.
Loading

0 comments on commit 62b165b

Please sign in to comment.