aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2023-11-29 10:29:32 +0100
committerGitHub <noreply@github.com>2023-11-29 20:29:32 +1100
commit31704187c8527b03199e5abdddb982327ccfac53 (patch)
treedb1c8f200bc3cd77327a5b0cea262fcfc7161305 /src/main/java
parent0c870fd83d6dd23d75e4308523eb35985b23f1ec (diff)
downloadNotEnoughUpdates-31704187c8527b03199e5abdddb982327ccfac53.tar.gz
NotEnoughUpdates-31704187c8527b03199e5abdddb982327ccfac53.tar.bz2
NotEnoughUpdates-31704187c8527b03199e5abdddb982327ccfac53.zip
Made MiningOverlay SkyMall preview work in Crystal Hollows (#958)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java8
1 files changed, 1 insertions, 7 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 8dc44976..2f0388f4 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
@@ -443,14 +443,10 @@ public class MiningOverlay extends TextTabOverlay {
break;
case 5:
overlayStrings.add(
- DARK_AQUA + "Star Cult: " + GREEN +
- StarCultCalculator.getNextStarCult());
+ DARK_AQUA + "Star Cult: " + GREEN + StarCultCalculator.getNextStarCult());
break;
case 6:
-
- if (Objects.equals(SBInfo.getInstance().getLocation(), "mining_3")) {
overlayStrings.add("§3Sky Mall: §a" + SkyMallDisplay.Companion.getDisplayText());
- }
break;
}
}
@@ -763,9 +759,7 @@ public class MiningOverlay extends TextTabOverlay {
} else if (beforeColon.contains("Titanium")) {
icon = miningOverlayCommissionItems.get("Titanium");
} else if (beforeColon.contains("Sky Mall")) {
- if (Objects.equals(SBInfo.getInstance().getLocation(), "mining_3")) {
icon = SkyMallDisplay.Companion.getDisplayItem();
- }
}
}