From 29085b95b703537f22e79054b53be7d0469ba2cf Mon Sep 17 00:00:00 2001 From: code-explorer786 <68312688+code-explorer786@users.noreply.github.com> Date: Sun, 10 Jul 2022 08:21:29 +0700 Subject: [PATCH] Fix setblock block not accepting @air (#7160) --- core/src/mindustry/logic/LExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/logic/LExecutor.java b/core/src/mindustry/logic/LExecutor.java index 625df32707..10094be0da 100644 --- a/core/src/mindustry/logic/LExecutor.java +++ b/core/src/mindustry/logic/LExecutor.java @@ -1292,7 +1292,7 @@ public class LExecutor{ if(b instanceof Floor f && tile.floor() != f && !f.isOverlay()) tile.setFloorNet(f); } case block -> { - if(!b.isFloor()){ + if(!b.isFloor() || b == Blocks.air){ Team t = exec.team(team); if(t == null) t = Team.derelict;