aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt
index ad90e89b6..b4f478c2a 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt
@@ -135,7 +135,9 @@ class SlayerQuestWarning {
)
}
}
- return (getSlayerData().lastSlayerType == slayerType) && slayerType.clazz.isInstance(entity)
+ // workaround for rift mob that is unrelated to slayer
+ val isSlayer = slayerType.clazz.isInstance(entity) && entity.name != "Oubliette Guard"
+ return (getSlayerData().lastSlayerType == slayerType) && isSlayer
}
@SubscribeEvent