1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-19 05:34:40 +00:00
This commit is contained in:
Leijurv 2018-12-19 21:30:58 -08:00
parent 57f238de7d
commit 02478ee887
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -122,7 +122,7 @@ public enum WorldScanner implements IWorldScanner {
if (search.contains(state.getBlock())) {
int yy = yReal | y;
result.add(new BlockPos(chunkX | x, yy, chunkZ | z));
if (result.size() >= max || Math.abs(yy - playerY) < yLevelThreshold) {
if (result.size() >= max && Math.abs(yy - playerY) < yLevelThreshold) {
return;
}
}