From aace66e0e2b5a3681cc9c9e72369cc3ed9bfa632 Mon Sep 17 00:00:00 2001 From: WayZer Date: Sun, 17 Nov 2024 22:01:51 +0800 Subject: [PATCH] Update BuildingComp.java (#10333) --- core/src/mindustry/entities/comp/BuildingComp.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/entities/comp/BuildingComp.java b/core/src/mindustry/entities/comp/BuildingComp.java index 309451907e..98c14d3497 100644 --- a/core/src/mindustry/entities/comp/BuildingComp.java +++ b/core/src/mindustry/entities/comp/BuildingComp.java @@ -1217,6 +1217,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc, } public void payloadDraw(){ + if(block.isAir()) return; draw(); }