Skip to content

Commit

Permalink
fix PayloadDraw npe
Browse files Browse the repository at this point in the history
  • Loading branch information
squi2rel committed Dec 24, 2024
1 parent f1ddc3e commit 92acb4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/mindustry/entities/comp/BuildingComp.java
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,7 @@ public void draw(){
}

public void payloadDraw(){
if (block.region == null) return;
draw();
}

Expand Down

0 comments on commit 92acb4a

Please sign in to comment.