aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorLuna <luna@alexia.lol>2024-06-20 23:01:35 +0200
committerGitHub <noreply@github.com>2024-06-20 23:01:35 +0200
commit0e16228c3383c4913c452ba5eaa5418775000647 (patch)
tree708ce4db248d123b1170164eec12cb1e0dadf913 /src/main/java/at/hannibal2/skyhanni/features
parentf1c382bebd0e4856ea7f28732d143c44c881c182 (diff)
downloadskyhanni-0e16228c3383c4913c452ba5eaa5418775000647.tar.gz
skyhanni-0e16228c3383c4913c452ba5eaa5418775000647.tar.bz2
skyhanni-0e16228c3383c4913c452ba5eaa5418775000647.zip
Fix: Deep Sea Protectors being misdetected as Automatons (#2130)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/HighlightMiningCommissionMobs.kt4
1 files changed, 3 insertions, 1 deletions
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) }),