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) {
|
if ((allUnloaded && foundChunks)
|
||||||
return res;
|
|| res.size() >= max
|
||||||
}
|
|| (searchRadiusSq > 26 || (searchRadiusSq > 1 && foundWithinY))
|
||||||
if (res.size() >= max && (searchRadiusSq > 26 || (searchRadiusSq > 1 && foundWithinY))) {
|
) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
searchRadiusSq++;
|
searchRadiusSq++;
|
||||||
|
Loading…
Reference in New Issue
Block a user