From 747f64bc6263dc5644c42d7308b32a780604f33e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Fri, 31 May 2024 01:09:42 +0200 Subject: Fix: Rift Slayer Oubliette Guard (#1950) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit