aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0887-Fix-inconsistencies-in-dispense-events-regarding-sta.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2023-12-14 18:57:17 -0800
committerSpottedleaf <[email protected]>2023-12-14 18:57:17 -0800
commitf1820dc80a02009980e6466ea5847933861b911a (patch)
tree66798f85913fd62d20be01a35a91e57618afe67a /patches/server/0887-Fix-inconsistencies-in-dispense-events-regarding-sta.patch
parent7e15d977ecce23ee72b059e9be292d983a336c50 (diff)
downloadPaper-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/0887-Fix-inconsistencies-in-dispense-events-regarding-sta.patch')
0 files changed, 0 insertions, 0 deletions