diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-29 22:36:55 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-29 22:36:55 +0200 |
commit | cbaed5b6865d169ce7d49bb16b8c42aa5d68be94 (patch) | |
tree | 58f9ce1678d3242054ccd8bc2dbd4541a99e9ebc /src/main/java/at/hannibal2/skyhanni | |
parent | 568a3a864ef6970a8fb7b31b6cc65d117f749681 (diff) | |
download | skyhanni-cbaed5b6865d169ce7d49bb16b8c42aa5d68be94.tar.gz skyhanni-cbaed5b6865d169ce7d49bb16b8c42aa5d68be94.tar.bz2 skyhanni-cbaed5b6865d169ce7d49bb16b8c42aa5d68be94.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureFeatures.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureFeatures.kt index 5bebcfe27..827b58fd8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureFeatures.kt @@ -35,9 +35,8 @@ class SeaCreatureFeatures { val creature = SeaCreatureManager.allFishingMobs[event.mob.name] ?: return if (!creature.rare) return - if (config.highlight && !(damageIndicatorConfig.enabled && damageIndicatorConfig.bossesToShow.contains( - DamageIndicatorConfig.BossCategory.SEA_CREATURES - )) + if (config.highlight && !(damageIndicatorConfig.enabled && + DamageIndicatorConfig.BossCategory.SEA_CREATURES in damageIndicatorConfig.bossesToShow) ) { event.mob.highlight(LorenzColor.GREEN.toColor()) rareSeaCreatures += event.mob.baseEntity |