diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-31 01:09:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 01:09:42 +0200 |
commit | 747f64bc6263dc5644c42d7308b32a780604f33e (patch) | |
tree | db068d6cfef3370a0c2c0ac259e60b6b9e0a0b7e /src/main/java/at | |
parent | a4002fdeeb6deee896930a232def29b45bffc558 (diff) | |
download | skyhanni-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.kt | 4 |
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 |