Commit Graph

2 Commits

Author SHA1 Message Date
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
Renamed from patches/server/0710-Optimise-general-POI-access.patch (Browse further)