aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-31 01:09:42 +0200
committerGitHub <noreply@github.com>2024-05-31 01:09:42 +0200
commit747f64bc6263dc5644c42d7308b32a780604f33e (patch)
treedb068d6cfef3370a0c2c0ac259e60b6b9e0a0b7e /src/main/java/at
parenta4002fdeeb6deee896930a232def29b45bffc558 (diff)
downloadskyhanni-747f64bc6263dc5644c42d7308b32a780604f33e.tar.gz
skyhanni-747f64bc6263dc5644c42d7308b32a780604f33e.tar.bz2
skyhanni-747f64bc6263dc5644c42d7308b32a780604f33e.zip
Fix: Rift Slayer Oubliette Guard (#1950)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
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