aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-02 09:22:48 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-02 09:22:48 +0200
commit78e86c686cddfab27cd6b1f24801e51ffe05b3ff (patch)
treedaeadfac6d87983c11b45415d8fc552f5f73257f /src/main/java/at/hannibal2
parent656e5fc05156e2d95ce61ff4d12e37e78a3888d7 (diff)
downloadskyhanni-78e86c686cddfab27cd6b1f24801e51ffe05b3ff.tar.gz
skyhanni-78e86c686cddfab27cd6b1f24801e51ffe05b3ff.tar.bz2
skyhanni-78e86c686cddfab27cd6b1f24801e51ffe05b3ff.zip
Fixed line to slayer mini boss shows for dead mobs.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt
index 3fc106bce..c03e47146 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt
@@ -55,6 +55,7 @@ class SlayerMiniBossFeatures {
if (!config.slayerMinibossLine) return
for (mob in miniBosses) {
if (mob.health <= 0) continue
+ if (mob.isDead) continue
if (mob.distanceToPlayer() > 10) continue
event.draw3DLine(