aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-04-10 20:04:42 +0200
committerGitHub <noreply@github.com>2024-04-10 20:04:42 +0200
commitfb47aaffae90b28d66f0a8f4d6177ec5e1597d0f (patch)
treec22595e28f21f50c338e1d76b64b9a100d60ca32 /src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
parent9a3155634c0b6e732f174b544cc34d4d1acc7394 (diff)
downloadnotenoughupdates-fb47aaffae90b28d66f0a8f4d6177ec5e1597d0f.tar.gz
notenoughupdates-fb47aaffae90b28d66f0a8f4d6177ec5e1597d0f.tar.bz2
notenoughupdates-fb47aaffae90b28d66f0a8f4d6177ec5e1597d0f.zip
Fix Drill Bar and Commission Overlay not working correctly in Mineshafts (#1081)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
index 64d49304..b187c487 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
@@ -250,7 +250,8 @@ public class MiningOverlay extends TextTabOverlay {
//thanks to "Pure Genie#7250" for helping with this (makes tita alert and waypoints work without mine overlay)
if (SBInfo.getInstance().getLocation() == null) return;
if (SBInfo.getInstance().getLocation().equals("mining_3") ||
- SBInfo.getInstance().getLocation().equals("crystal_hollows")) {
+ SBInfo.getInstance().getLocation().equals("crystal_hollows") || SBInfo.getInstance().getLocation().equals(
+ "mineshaft")) {
commissionProgress.clear();
// These strings will be displayed one after the other when the player list is disabled