This commit is contained in:
Anuken
2022-09-01 08:46:31 -04:00
parent 920cedb334
commit 5ecd73bdb0
2 changed files with 4 additions and 2 deletions

View File

@@ -1298,7 +1298,7 @@ public class LExecutor{
//TODO this can be quite laggy...
switch(layer){
case ore -> {
if(b instanceof OverlayFloor o && tile.overlay() != o) tile.setOverlayNet(o);
if(b instanceof OverlayFloor || b == Blocks.air && tile.overlay() != b) tile.setOverlayNet(b);
}
case floor -> {
if(b instanceof Floor f && tile.floor() != f && !f.isOverlay()) tile.setFloorNet(f);