diff --git a/src/api/java/baritone/api/cache/IWorldScanner.java b/src/api/java/baritone/api/cache/IWorldScanner.java index c35757ef..510e69ed 100644 --- a/src/api/java/baritone/api/cache/IWorldScanner.java +++ b/src/api/java/baritone/api/cache/IWorldScanner.java @@ -38,5 +38,5 @@ public interface IWorldScanner { * @param maxSearchRadius The maximum chunk search radius * @return The matching block positions */ - List scanLoadedChunks(List blocks, int max, int yLevelThreshold, int maxSearchRadius); + List scanChunkRadius(List blocks, int max, int yLevelThreshold, int maxSearchRadius); } diff --git a/src/main/java/baritone/cache/WorldScanner.java b/src/main/java/baritone/cache/WorldScanner.java index a0d905c6..6366b157 100644 --- a/src/main/java/baritone/cache/WorldScanner.java +++ b/src/main/java/baritone/cache/WorldScanner.java @@ -35,7 +35,7 @@ public enum WorldScanner implements IWorldScanner, Helper { INSTANCE; @Override - public List scanLoadedChunks(List blocks, int max, int yLevelThreshold, int maxSearchRadius) { + public List scanChunkRadius(List blocks, int max, int yLevelThreshold, int maxSearchRadius) { if (blocks.contains(null)) { throw new IllegalStateException("Invalid block name should have been caught earlier: " + blocks.toString()); }