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;
}
}