aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt2
1 files changed, 1 insertions, 1 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 e25ac37eb..3fc106bce 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt
@@ -54,7 +54,7 @@ class SlayerMiniBossFeatures {
fun onWorldRender(event: RenderWorldLastEvent) {
if (!config.slayerMinibossLine) return
for (mob in miniBosses) {
- if (mob.isDead) continue
+ if (mob.health <= 0) continue
if (mob.distanceToPlayer() > 10) continue
event.draw3DLine(