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/playerstats | |
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/playerstats')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/playerstats/ActionBarParsing.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/playerstats/ActionBarParsing.java b/src/main/java/com/thatgravyboat/skyblockhud/playerstats/ActionBarParsing.java index 380f4a5..1151f8a 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/playerstats/ActionBarParsing.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/playerstats/ActionBarParsing.java @@ -57,7 +57,7 @@ public class ActionBarParsing { if (SkyblockHud.hasSkyblockScoreboard() && SkyblockHud.config.rpg.showRpgHud) { parseActionBar(event.message.getUnformattedText()); } - if (SkyblockHud.config.mining.showDrillBar) { + if (SkyblockHud.config.mining.showDrillBar != 0) { String bar = Utils.removeColor(event.message.getUnformattedText()); Matcher DrillFuelMatcher = DrillFuelRegex.matcher(bar); if (DrillFuelMatcher.find()) { @@ -91,7 +91,7 @@ public class ActionBarParsing { } event.message = lastLowEditedActionBar; } - if (SkyblockHud.config.mining.showDrillBar) { + if (SkyblockHud.config.mining.showDrillBar != 0) { event.message = new ChatComponentText(DrillFuelReplaceRegex.matcher(event.message.getUnformattedText()).replaceAll("").trim()); } } |