aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-15 10:50:13 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-15 10:50:13 +0100
commitbcc712b14495015d5a0d53cb54355b379e32f000 (patch)
tree5be25c3cd40da395d71b628c2507bf42419f487d /src
parent9878714850a75cf0b2b6cf1ec5f3a8d13a740543 (diff)
downloadskyhanni-bcc712b14495015d5a0d53cb54355b379e32f000.tar.gz
skyhanni-bcc712b14495015d5a0d53cb54355b379e32f000.tar.bz2
skyhanni-bcc712b14495015d5a0d53cb54355b379e32f000.zip
Fixed showing "slayer boss spawn soon" message outside correct slayer area v2.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
index 7a2243fbc..2a6b99297 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
@@ -128,7 +128,7 @@ object SlayerAPI {
} else {
val slayerTypeForCurrentArea = getSlayerTypeForCurrentArea()
isInAnyArea = slayerTypeForCurrentArea != null
- slayerTypeForCurrentArea == getActiveSlayer()
+ slayerTypeForCurrentArea == getActiveSlayer() && slayerTypeForCurrentArea != null
}
}
}