From cbaed5b6865d169ce7d49bb16b8c42aa5d68be94 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 29 May 2024 22:36:55 +0200 Subject: code cleanup --- .../at/hannibal2/skyhanni/features/fishing/SeaCreatureFeatures.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') 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 -- cgit