From ff652dbe40352811b7c969797549cd0dbc0557e2 Mon Sep 17 00:00:00 2001 From: Brady Date: Sat, 13 Oct 2018 23:15:11 -0500 Subject: [PATCH] scanLoadedChunks -> scanChunkRadius --- src/api/java/baritone/api/cache/IWorldScanner.java | 2 +- src/main/java/baritone/cache/WorldScanner.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()); }