From 02478ee8878fbb2e7d81baf905d94ec6233127a8 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 19 Dec 2018 21:30:58 -0800 Subject: [PATCH] wtF --- src/main/java/baritone/cache/WorldScanner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/cache/WorldScanner.java b/src/main/java/baritone/cache/WorldScanner.java index efed8af0f..463dd22f7 100644 --- a/src/main/java/baritone/cache/WorldScanner.java +++ b/src/main/java/baritone/cache/WorldScanner.java @@ -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; } }