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