diff options
author | jani270 <69345714+jani270@users.noreply.github.com> | 2023-11-29 10:29:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 20:29:32 +1100 |
commit | 31704187c8527b03199e5abdddb982327ccfac53 (patch) | |
tree | db1c8f200bc3cd77327a5b0cea262fcfc7161305 /src/main/java/io | |
parent | 0c870fd83d6dd23d75e4308523eb35985b23f1ec (diff) | |
download | NotEnoughUpdates-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/io')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java | 8 |
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(); - } } } |