Archiviert
13
0
Commit graph

2 Commits

Autor SHA1 Nachricht Datum
Lulu13022002
3ab194e185
Avoid a cubed max search distance for POIs (#8576)
The max search distance used to get the closest Poi data on X/Z axis is cubed
instead of squared (one time in the parameter and another time in the function)
for almost all search.
Generally this has been hidden by another check that already does a pre
distance check between the poi pos and the source pos for individual
component but the issue still happens for diagonal distance search.
Discovered by Samsuik
2022-11-21 16:02:21 +01:00
Jake Potrebic
e6ee4cdffe
Updated Upstream (CraftBukkit) (#8548) 2022-11-09 16:05:46 -08:00