Fixed overlay floor placement checks in in-game editor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user