diff options
author | Luna <luna@alexia.lol> | 2024-06-20 23:01:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 23:01:35 +0200 |
commit | 0e16228c3383c4913c452ba5eaa5418775000647 (patch) | |
tree | 708ce4db248d123b1170164eec12cb1e0dadf913 | |
parent | f1c382bebd0e4856ea7f28732d143c44c881c182 (diff) | |
download | skyhanni-0e16228c3383c4913c452ba5eaa5418775000647.tar.gz skyhanni-0e16228c3383c4913c452ba5eaa5418775000647.tar.bz2 skyhanni-0e16228c3383c4913c452ba5eaa5418775000647.zip |
Fix: Deep Sea Protectors being misdetected as Automatons (#2130)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mining/HighlightMiningCommissionMobs.kt | 4 |
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) }), |