Fix size parameter not being properly recognized by WorldScanner
This commit is contained in:
@@ -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++;
|
||||||
|
|||||||
Reference in New Issue
Block a user