From 783a7cedc34ddec5e65f9f89749c699f5c296248 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 27 Apr 2019 16:03:58 -0700 Subject: [PATCH] can combine distances --- src/main/java/baritone/process/ExploreProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/process/ExploreProcess.java b/src/main/java/baritone/process/ExploreProcess.java index 4c366502..3d7ede29 100644 --- a/src/main/java/baritone/process/ExploreProcess.java +++ b/src/main/java/baritone/process/ExploreProcess.java @@ -101,8 +101,8 @@ public class ExploreProcess extends BaritoneProcessHelper implements IExplorePro int chunkX = center.getX() >> 4; int chunkZ = center.getZ() >> 4; int count = Math.min(filter.countRemain(), Baritone.settings().exploreChunkSetMinimumSize.value); + List centers = new ArrayList<>(); for (int dist = 0; ; dist++) { - List centers = new ArrayList<>(); for (int dx = -dist; dx <= dist; dx++) { for (int dz = -dist; dz <= dist; dz++) { int trueDist = Math.abs(dx) + Math.abs(dz);