aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/playerstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/playerstats')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/playerstats/ActionBarParsing.java4
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());
}
}