From 0308131920eab60a9151f2bf471c524d46ce0a02 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Wed, 24 Apr 2024 01:58:24 +1000 Subject: Fix powder showing empty on dwarven overlay when its not on tablist (#1112) --- .../github/moulberry/notenoughupdates/overlays/MiningOverlay.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } } -- cgit