aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-29 22:33:46 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-29 22:33:46 +0200
commit8a53c079921697c43a62c0e83c4b2941a5560a0f (patch)
treef99ad5a815191a42759c9c3206db0f39b01fed39 /src/main/java/at
parent2b56e2d818ba6b40391157a4d1feeb97298fe451 (diff)
downloadskyhanni-8a53c079921697c43a62c0e83c4b2941a5560a0f.tar.gz
skyhanni-8a53c079921697c43a62c0e83c4b2941a5560a0f.tar.bz2
skyhanni-8a53c079921697c43a62c0e83c4b2941a5560a0f.zip
fixed small logic thingy
Diffstat (limited to 'src/main/java/at')
-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(