Fix size parameter not being properly recognized by WorldScanner
This commit is contained in:
parent
37f00f3e14
commit
0575e2d667
@ -103,10 +103,10 @@ public enum WorldScanner implements Helper {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (allUnloaded && foundChunks) {
|
||||
return res;
|
||||
}
|
||||
if (res.size() >= max && (searchRadiusSq > 26 || (searchRadiusSq > 1 && foundWithinY))) {
|
||||
if ((allUnloaded && foundChunks)
|
||||
|| res.size() >= max
|
||||
|| (searchRadiusSq > 26 || (searchRadiusSq > 1 && foundWithinY))
|
||||
) {
|
||||
return res;
|
||||
}
|
||||
searchRadiusSq++;
|
||||
|
Loading…
Reference in New Issue
Block a user