diff options
author | nea <romangraef@gmail.com> | 2022-08-23 18:20:16 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-23 18:20:16 +0200 |
commit | 1e870d3d55b4965c24919c0a69bdd2fa4958b7f8 (patch) | |
tree | d741b50ec639e723259e1d1341c7a8abc98d8c8e /src/main/java/com/thatgravyboat/skyblockhud/mixins | |
parent | 50f5ff6cf4fb9fc37270114317d0192788c1c64e (diff) | |
download | SkyblockHud-Death-Defied-1e870d3d55b4965c24919c0a69bdd2fa4958b7f8.tar.gz SkyblockHud-Death-Defied-1e870d3d55b4965c24919c0a69bdd2fa4958b7f8.tar.bz2 SkyblockHud-Death-Defied-1e870d3d55b4965c24919c0a69bdd2fa4958b7f8.zip |
Allow Drill bar to be absolute valuesdrillbar
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/mixins')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinGuiIngameForge.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinGuiIngameForge.java b/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinGuiIngameForge.java index eaa1b5a..0957350 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinGuiIngameForge.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinGuiIngameForge.java @@ -65,7 +65,7 @@ public class MixinGuiIngameForge { if (prePost(EXPERIENCE, eventParent)) return; postPost(EXPERIENCE, eventParent); } else if (SkyblockHud.config.mining.barMode == 1) { - if (!SkyblockHud.config.renderer.hideXpBar && (SkyblockHud.config.mining.showDrillBar || SkyblockHud.config.mining.showHeatBar) && SkyblockHud.hasSkyblockScoreboard()) { + if (!SkyblockHud.config.renderer.hideXpBar && (SkyblockHud.config.mining.showDrillBar != 0 || SkyblockHud.config.mining.showHeatBar) && SkyblockHud.hasSkyblockScoreboard()) { if (MiningHud.getHeat() > 0 || Utils.isDrill(Minecraft.getMinecraft().thePlayer.getHeldItem())) { ci.cancel(); if (prePost(EXPERIENCE, eventParent)) return; @@ -82,7 +82,7 @@ public class MixinGuiIngameForge { if (prePost(JUMPBAR, eventParent)) return; postPost(JUMPBAR, eventParent); } else if (SkyblockHud.config.mining.barMode == 1) { - if (!SkyblockHud.config.renderer.hideXpBar && (SkyblockHud.config.mining.showDrillBar || SkyblockHud.config.mining.showHeatBar) && SkyblockHud.hasSkyblockScoreboard()) { + if (!SkyblockHud.config.renderer.hideXpBar && (SkyblockHud.config.mining.showDrillBar != 0 || SkyblockHud.config.mining.showHeatBar) && SkyblockHud.hasSkyblockScoreboard()) { if (MiningHud.getHeat() > 0 || Utils.isDrill(Minecraft.getMinecraft().thePlayer.getHeldItem())) { ci.cancel(); if (prePost(JUMPBAR, eventParent)) return; |