Fixed #11009
This commit is contained in:
@@ -203,9 +203,10 @@ public class BlockIndexer{
|
||||
}
|
||||
}
|
||||
|
||||
public void addIndex(Tile tile){
|
||||
process(tile);
|
||||
public void addIndex(Tile base){
|
||||
process(base);
|
||||
|
||||
base.getLinkedTiles(tile -> {
|
||||
Item drop = tile.drop(), wallDrop = tile.wallDrop();
|
||||
if(drop == null && wallDrop == null) return;
|
||||
int qx = tile.x / quadrantSize, qy = tile.y / quadrantSize;
|
||||
@@ -239,7 +240,7 @@ public class BlockIndexer{
|
||||
if(old == 1) updatePresentOres();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/** @return whether a certain block is anywhere on this map. */
|
||||
|
||||
Reference in New Issue
Block a user