Fixed overlay floor placement checks in in-game editor

This commit is contained in:
Anuken 2025-10-18 18:04:25 -04:00
parent c2108a3ce5
commit fb37ecd1a8
2 changed files with 4 additions and 1 deletions

View file

@ -79,6 +79,9 @@ public class ConstructBlock extends Block{
tile.setOverlay(overlay);
}else if(block instanceof Floor floor){
tile.setFloor(floor);
if(!(tile.overlay() instanceof OverlayFloor) && !floor.supportsOverlay){
tile.setOverlay(Blocks.air);
}
}else{
tile.setBlock(block, team, rotation);
}

View file

@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false
archash=8bbe39d0f6
archash=45317fae60