scanLoadedChunks -> scanChunkRadius

This commit is contained in:
Brady 2018-10-13 23:15:11 -05:00
parent 897483884a
commit ff652dbe40
No known key found for this signature in database
GPG Key ID: 73A788379A197567
2 changed files with 2 additions and 2 deletions

View File

@ -38,5 +38,5 @@ public interface IWorldScanner {
* @param maxSearchRadius The maximum chunk search radius * @param maxSearchRadius The maximum chunk search radius
* @return The matching block positions * @return The matching block positions
*/ */
List<BlockPos> scanLoadedChunks(List<Block> blocks, int max, int yLevelThreshold, int maxSearchRadius); List<BlockPos> scanChunkRadius(List<Block> blocks, int max, int yLevelThreshold, int maxSearchRadius);
} }

View File

@ -35,7 +35,7 @@ public enum WorldScanner implements IWorldScanner, Helper {
INSTANCE; INSTANCE;
@Override @Override
public List<BlockPos> scanLoadedChunks(List<Block> blocks, int max, int yLevelThreshold, int maxSearchRadius) { public List<BlockPos> scanChunkRadius(List<Block> blocks, int max, int yLevelThreshold, int maxSearchRadius) {
if (blocks.contains(null)) { if (blocks.contains(null)) {
throw new IllegalStateException("Invalid block name should have been caught earlier: " + blocks.toString()); throw new IllegalStateException("Invalid block name should have been caught earlier: " + blocks.toString());
} }