diff options
author | Spottedleaf <[email protected]> | 2023-12-14 18:57:17 -0800 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2023-12-14 18:57:17 -0800 |
commit | f1820dc80a02009980e6466ea5847933861b911a (patch) | |
tree | 66798f85913fd62d20be01a35a91e57618afe67a /patches/server/0270-Add-option-to-prevent-players-from-moving-into-unloa.patch | |
parent | 7e15d977ecce23ee72b059e9be292d983a336c50 (diff) | |
download | Paper-f1820dc80a02009980e6466ea5847933861b911a.tar.gz Paper-f1820dc80a02009980e6466ea5847933861b911a.zip |
Fix incorrect border collision detection
The epsilon used was in the opposite direction, which would cause
the getCollisions method to incorrectly return it for when players
were exactly on the border but not colliding. To bring it in-line
with the rest of the collision code, the collision must be into
the border by +EPSILON.
Fixes https://github.com/PaperMC/Paper/issues/9859
Diffstat (limited to 'patches/server/0270-Add-option-to-prevent-players-from-moving-into-unloa.patch')
0 files changed, 0 insertions, 0 deletions