aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java6
1 files changed, 3 insertions, 3 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 d32ce209..90433a51 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
@@ -460,10 +460,10 @@ public class MiningOverlay extends TextTabOverlay {
overlayStrings.addAll(commissionsStrings);
break;
case 1:
- overlayStrings.add(mithrilPowder);
+ if (!mithrilPowder.isEmpty()) overlayStrings.add(mithrilPowder);
break;
case 2:
- overlayStrings.add(gemstonePowder);
+ if (!gemstonePowder.isEmpty()) overlayStrings.add(gemstonePowder);
break;
case 3:
if (profileConfig != null) {
@@ -481,7 +481,7 @@ public class MiningOverlay extends TextTabOverlay {
overlayStrings.add("§3Sky Mall: §a" + SkyMallDisplay.Companion.getDisplayText());
break;
case 7:
- overlayStrings.add(glacitePowder);
+ if (!glacitePowder.isEmpty()) overlayStrings.add(glacitePowder);
break;
}
}