scanLoadedChunks -> scanChunkRadius

This commit is contained in:
Brady committed 2018-10-13 23:15:34 -05:00
1 parent 897483884a
commit ff652dbe40
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -38,5 +38,5 @@ public interface IWorldScanner {
* @param maxSearchRadius The maximum chunk search radius
* @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);
}
+1 -1
View File
@@ -35,7 +35,7 @@ public enum WorldScanner implements IWorldScanner, Helper {
INSTANCE;
@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)) {
throw new IllegalStateException("Invalid block name should have been caught earlier: " + blocks.toString());
}