diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-29 22:33:46 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-29 22:33:46 +0200 |
commit | 8a53c079921697c43a62c0e83c4b2941a5560a0f (patch) | |
tree | f99ad5a815191a42759c9c3206db0f39b01fed39 /src/main/java | |
parent | 2b56e2d818ba6b40391157a4d1feeb97298fe451 (diff) | |
download | skyhanni-8a53c079921697c43a62c0e83c4b2941a5560a0f.tar.gz skyhanni-8a53c079921697c43a62c0e83c4b2941a5560a0f.tar.bz2 skyhanni-8a53c079921697c43a62c0e83c4b2941a5560a0f.zip |
fixed small logic thingy
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt | 2 |
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( |