From 78e86c686cddfab27cd6b1f24801e51ffe05b3ff Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 2 Sep 2023 09:22:48 +0200 Subject: Fixed line to slayer mini boss shows for dead mobs. --- .../java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/at/hannibal2') 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( -- cgit