diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/slayer')
-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 e384b5de8..529b8b4d2 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerMiniBossFeatures.kt @@ -36,7 +36,7 @@ class SlayerMiniBossFeatures { val maxHealth = event.maxHealth for (bossType in SlayerMiniBossType.entries) { if (!bossType.health.any { entity.hasMaxHealth(it, true, maxHealth) }) continue - if (!bossType.clazz.isInstance(entity)) continue + if (bossType.clazz != entity.javaClass) continue miniBosses = miniBosses.editCopy { add(entity) } RenderLivingEntityHelper.setEntityColor(entity, LorenzColor.AQUA.toColor().withAlpha(127)) |