aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
}
}