Skip to content

Commit

Permalink
fixup! C(RenderExt) drawBars
Browse files Browse the repository at this point in the history
  • Loading branch information
way-zer committed Jun 6, 2024
1 parent ab5b4d9 commit 84ef9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/mindustryX/features/RenderExt.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public static void onBlockDraw(Tile tile, Block block, Building build){
Draw.draw(Layer.overlayUI - 0.1f, build::drawSelect);
if(massDriverLine && build instanceof MassDriverBuild b)
drawMassDriverLine(b);
if(drawBars)
if(build != null && drawBars)
drawBars(build);
}

Expand Down

0 comments on commit 84ef9c1

Please sign in to comment.