Generator explosion system cleanup

This commit is contained in:
Anuken
2022-08-02 13:13:37 -04:00
parent fa1a5971cf
commit e28d7b8d8d
10 changed files with 103 additions and 82 deletions

View File

@@ -61,7 +61,7 @@ abstract class PuddleComp implements Posc, Puddlec, Drawc{
int targets = 0;
for(Point2 point : Geometry.d4){
Tile other = world.tile(tile.x + point.x, tile.y + point.y);
if(other != null && other.block() == Blocks.air){
if(other != null && (other.block() == Blocks.air || liquid.moveThroughBlocks)){
targets ++;
Puddles.deposit(other, tile, liquid, deposited, false);
}