Fixed #7944
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user