aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorThatGravyBoat <ThatGravyBoat@users.noreply.github.com>2021-07-17 01:51:28 +0000
committerGitHub Action <actions@github.com>2021-07-17 01:51:28 +0000
commit3f3a68b898930c9c33ff852e6d0d8270835c4b98 (patch)
tree45646ac3221b2d2a323f4ee6a277e5fc2768cfe2 /src/main/java
parentef2d09d053da614cafab4e70eea5c0ad2d073b6d (diff)
downloadSkyblockHud-Death-Defied-3f3a68b898930c9c33ff852e6d0d8270835c4b98.tar.gz
SkyblockHud-Death-Defied-3f3a68b898930c9c33ff852e6d0d8270835c4b98.tar.bz2
SkyblockHud-Death-Defied-3f3a68b898930c9c33ff852e6d0d8270835c4b98.zip
Prettified Code!
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/overlay/OverlayHud.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/overlay/OverlayHud.java b/src/main/java/com/thatgravyboat/skyblockhud/overlay/OverlayHud.java
index 0ca56ad..5ed0285 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/overlay/OverlayHud.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/overlay/OverlayHud.java
@@ -46,10 +46,7 @@ public class OverlayHud extends Gui {
drawTexturedModalRect((width / 2) - 17, offset + (bossBarVisible ? 17 : 0), 0, 0, 34, 34);
drawTexturedModalRect((width / 2) - 4, offset + (bossBarVisible ? 24 : 7), (timeHour > 19 || timeHour < 4) ? 43 : 43 + 8, 0, 8, 8);
- if (SkyblockHud.config.main.twelveHourClock)
- drawScaledString(0.8f, width / 2, offset + (bossBarVisible ? 38 : 21), normalTime, (timeHour > 19 || timeHour < 4) ? 0xAFB8CC : 0xFFFF55);
- else
- drawCenteredString(font, militaryTime, (width / 2), offset + (bossBarVisible ? 38 : 21), (timeHour > 19 || timeHour < 4) ? 0xAFB8CC : 0xFFFF55);
+ if (SkyblockHud.config.main.twelveHourClock) drawScaledString(0.8f, width / 2, offset + (bossBarVisible ? 38 : 21), normalTime, (timeHour > 19 || timeHour < 4) ? 0xAFB8CC : 0xFFFF55); else drawCenteredString(font, militaryTime, (width / 2), offset + (bossBarVisible ? 38 : 21), (timeHour > 19 || timeHour < 4) ? 0xAFB8CC : 0xFFFF55);
//PURSE
drawPurseAndBits(width, offset, mc);