fix scan logic
This commit is contained in:
parent
4513a537db
commit
2cac115211
@ -106,8 +106,8 @@ public enum WorldScanner implements Helper {
|
||||
}
|
||||
}
|
||||
if ((allUnloaded && foundChunks)
|
||||
|| res.size() >= max
|
||||
|| (searchRadiusSq > maxSearchRadiusSq || (searchRadiusSq > 1 && foundWithinY))
|
||||
|| (res.size() >= max
|
||||
&& (searchRadiusSq > maxSearchRadiusSq || (searchRadiusSq > 1 && foundWithinY)))
|
||||
) {
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user