aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-03-20 08:44:00 +0100
committerGitHub <noreply@github.com>2024-03-20 08:44:00 +0100
commitf0daa878993acf188c229362b6204fefc04ad449 (patch)
tree61b3de967f1d3ea9b722a901ea87e4f012420d68 /src/main/java
parentf004de0b7f8f7534598d678c61365f0a01ba10f9 (diff)
downloadNotEnoughUpdates-f0daa878993acf188c229362b6204fefc04ad449.tar.gz
NotEnoughUpdates-f0daa878993acf188c229362b6204fefc04ad449.tar.bz2
NotEnoughUpdates-f0daa878993acf188c229362b6204fefc04ad449.zip
Add crimson isle burning desert to only relevant slayer locations (#1058)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/SlayerOverlay.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/SlayerOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/SlayerOverlay.java
index 8cc92551..f857d2a5 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/SlayerOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/SlayerOverlay.java
@@ -81,7 +81,8 @@ public class SlayerOverlay extends TextOverlay {
if (locrawLocation == null || scoreboardLocation == null) return true;
switch (SBInfo.getInstance().slayer) {
case "Tarantula":
- if (!locrawLocation.equals("combat_1")) return false;
+ if (!locrawLocation.equals("combat_1") &&
+ (!locrawLocation.equals("crimson_isle") || !scoreboardLocation.equals("Burning Desert"))) return false;
break;
case "Revenant":
if ((!locrawLocation.equals("hub") || !revenantLocations.contains(scoreboardLocation)) &&