This commit is contained in:
Anuken
2025-07-12 12:42:05 -04:00
parent 0539d00cda
commit aeee327e6c
+4 -3
View File
@@ -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. */