More base generation fixes

This commit is contained in:
Anuken 2025-02-06 23:11:11 -05:00
parent eaaa4f9bd8
commit 423d635efe
4 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -216,7 +216,7 @@ public class BaseGenerator{
if(!insanity){
for(Stile tile : result.tiles){
int realX = tile.x + cx, realY = tile.y + cy;
if(isTaken(tile.block, realX, realY)){
if(isTaken(tile.block, realX, realY) || (tile.block == Blocks.oilExtractor && tile.block.sumAttribute(Attribute.oil, realX, realY) <= 0.001f)){
return false;
}
}