This commit is contained in:
Anuken
2023-01-07 14:18:07 -05:00
parent 1394c49e48
commit 723b10af57
2 changed files with 2 additions and 2 deletions

View File

@@ -462,7 +462,7 @@ public class World{
public void checkMapArea(){
for(var build : Groups.build){
//reset map-area-based disabled blocks.
if(build.allowUpdate() && !build.enabled && build.block.autoResetEnabled){
if(!build.enabled && build.block.autoResetEnabled){
build.enabled = true;
}
}

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 && !block.breakable) in.block = block;
if(block != Blocks.air && in.block != Blocks.air && !in.block.breakable) in.block = block;
}
}
}