This commit is contained in:
Anuken
2023-01-07 14:10:41 -05:00
parent d8ecdff698
commit 1394c49e48

View File

@@ -35,7 +35,7 @@ public class NoiseFilter extends GenerateFilter{
if(noise > threshold && (target == Blocks.air || in.floor == target || in.block == target)){
if(floor != Blocks.air) in.floor = floor;
if(block != Blocks.air && in.block != Blocks.air) in.block = block;
if(block != Blocks.air && in.block != Blocks.air && !block.breakable) in.block = block;
}
}
}