diff options
author | ThatGravyBoat <ThatGravyBoat@users.noreply.github.com> | 2021-07-17 01:51:28 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2021-07-17 01:51:28 +0000 |
commit | 3f3a68b898930c9c33ff852e6d0d8270835c4b98 (patch) | |
tree | 45646ac3221b2d2a323f4ee6a277e5fc2768cfe2 /src | |
parent | ef2d09d053da614cafab4e70eea5c0ad2d073b6d (diff) | |
download | SkyblockHud-Death-Defied-3f3a68b898930c9c33ff852e6d0d8270835c4b98.tar.gz SkyblockHud-Death-Defied-3f3a68b898930c9c33ff852e6d0d8270835c4b98.tar.bz2 SkyblockHud-Death-Defied-3f3a68b898930c9c33ff852e6d0d8270835c4b98.zip |
Prettified Code!
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/overlay/OverlayHud.java | 5 |
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); |