aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureFeatures.kt5
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