aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/overlay
diff options
context:
space:
mode:
authorThatGravyBoat <ThatGravyBoat@users.noreply.github.com>2021-07-16 05:55:41 +0000
committerGitHub Action <actions@github.com>2021-07-16 05:55:41 +0000
commit5273c0a2e71b2df76555c40bf13665c762bcd97b (patch)
treea28cc14989ad048f113f774af28eb4c6dde35163 /src/main/java/com/thatgravyboat/skyblockhud/overlay
parent7f0d5d804ff8b327e7f5bc522a2732025dd39545 (diff)
downloadSkyblockHud-Death-Defied-5273c0a2e71b2df76555c40bf13665c762bcd97b.tar.gz
SkyblockHud-Death-Defied-5273c0a2e71b2df76555c40bf13665c762bcd97b.tar.bz2
SkyblockHud-Death-Defied-5273c0a2e71b2df76555c40bf13665c762bcd97b.zip
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/overlay')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/overlay/MiningHud.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/overlay/MiningHud.java b/src/main/java/com/thatgravyboat/skyblockhud/overlay/MiningHud.java
index 5a2f148..fa4136f 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/overlay/MiningHud.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/overlay/MiningHud.java
@@ -42,12 +42,12 @@ public class MiningHud extends Gui {
} else if (heat > 0 && SkyblockHud.config.mining.showHeatBar) {
renderHeatBar(mc, (event.resolution.getScaledWidth() / 2) - 22, event.resolution.getScaledHeight() - 31);
}
- }else if (SkyblockHud.config.mining.barMode == 0) {
- if (heat > 0 && SkyblockHud.config.mining.showHeatBar){
+ } else if (SkyblockHud.config.mining.barMode == 0) {
+ if (heat > 0 && SkyblockHud.config.mining.showHeatBar) {
Position position = SkyblockHud.config.mining.heatBar;
renderHeatBar(mc, position.getAbsX(event.resolution, 45), position.getAbsY(event.resolution, 7));
}
- if (Utils.isDrill(mc.thePlayer.getHeldItem()) && SkyblockHud.config.mining.showDrillBar){
+ if (Utils.isDrill(mc.thePlayer.getHeldItem()) && SkyblockHud.config.mining.showDrillBar) {
Position position = SkyblockHud.config.mining.drillBar;
renderFuelBar(mc, position.getAbsX(event.resolution, 136), position.getAbsY(event.resolution, 7));
}