Fix setblock block not accepting @air (#7160)

This commit is contained in:
code-explorer786 2022-07-10 08:21:29 +07:00 committed by GitHub
parent 4bc0ce9338
commit 29085b95b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;