aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java6
1 files changed, 5 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 bafd04b6..e6bc90ad 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
@@ -155,7 +155,7 @@ public class MiningOverlay extends TextOverlay {
}
}*/
- if(!NotEnoughUpdates.INSTANCE.config.mining.dwarvenOverlay) return;
+ if(!NotEnoughUpdates.INSTANCE.config.mining.dwarvenOverlay && NotEnoughUpdates.INSTANCE.config.mining.emissaryWaypoints == 0) return;
if(SBInfo.getInstance().getLocation() == null) return;
if(!SBInfo.getInstance().getLocation().equals("mining_3") && !SBInfo.getInstance().getLocation().equals("crystal_hollows")) return;
@@ -217,6 +217,10 @@ public class MiningOverlay extends TextOverlay {
forges = false;
}
}
+ if(!NotEnoughUpdates.INSTANCE.config.mining.dwarvenOverlay){
+ overlayStrings = null;
+ return;
+ }
List<String> commissionsStrings = new ArrayList<>();
for(Map.Entry<String, Float> entry : commissionProgress.entrySet()) {