From 0e16228c3383c4913c452ba5eaa5418775000647 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 20 Jun 2024 23:01:35 +0200 Subject: Fix: Deep Sea Protectors being misdetected as Automatons (#2130) --- .../skyhanni/features/mining/HighlightMiningCommissionMobs.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/HighlightMiningCommissionMobs.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/HighlightMiningCommissionMobs.kt index fd8362d95..cc9f6b753 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/HighlightMiningCommissionMobs.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/HighlightMiningCommissionMobs.kt @@ -40,7 +40,9 @@ object HighlightMiningCommissionMobs { TREASURE_HOARDER("Treasure Hoarder Puncher", { it.name == "Treasuer Hunter" }), // typo is intentional // Crystal Hollows - AUTOMATON("Automaton Slayer", { it is EntityIronGolem }), + AUTOMATON("Automaton Slayer", { + it is EntityIronGolem && (it.hasMaxHealth(15_000) || it.hasMaxHealth(20_000)) + }), TEAM_TREASURITE_MEMBER("Team Treasurite Member Slayer", { it.name == "Team Treasurite" }), YOG("Yog Slayer", { it is EntityMagmaCube && it.hasMaxHealth(35_000) }), THYST("Thyst Slayer", { it is EntityEndermite && it.hasMaxHealth(5_000) }), -- cgit