From 8c20203084bda4e725ab7b661805f3eb9b2dafaf Mon Sep 17 00:00:00 2001 From: Sunny Kim <58885089+sk7725@users.noreply.github.com> Date: Mon, 19 Jul 2021 17:09:17 +0900 Subject: [PATCH] formatting --- core/src/mindustry/world/blocks/production/Drill.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/world/blocks/production/Drill.java b/core/src/mindustry/world/blocks/production/Drill.java index b7125f07d8..b64cc621c8 100644 --- a/core/src/mindustry/world/blocks/production/Drill.java +++ b/core/src/mindustry/world/blocks/production/Drill.java @@ -315,8 +315,11 @@ public class Drill extends Block{ Draw.color(); } - if(drawSpinSprite) Drawf.spinSprite(rotatorRegion, x, y, timeDrilled * rotateSpeed); - else Draw.rect(rotatorRegion, x, y, timeDrilled * rotateSpeed); + if(drawSpinSprite){ + Drawf.spinSprite(rotatorRegion, x, y, timeDrilled * rotateSpeed); + }else{ + Draw.rect(rotatorRegion, x, y, timeDrilled * rotateSpeed); + } Draw.rect(topRegion, x, y);