From 64f83ca3f4c70b6008ad269b958fae5515d3c67c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 29 May 2024 08:03:19 +0200 Subject: fixed trophy fish display shows checks everywhere --- .../hannibal2/skyhanni/features/fishing/trophy/TrophyFishDisplay.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishDisplay.kt index a25f2d9c2..0845bf261 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishDisplay.kt @@ -145,8 +145,8 @@ class TrophyFishDisplay { val recentlyDropped = rarity == recentlyDroppedRarity val format = if (config.showCross.get() && amount == 0) "§c✖" else { val color = if (recentlyDropped) "§a" else rarity.formatCode - val numberformat = if (config.showCheckmark.get()) "§l✔" else amount.addSeparators() - "$color$numberformat" + val numberFormat = if (config.showCheckmark.get() && amount >= 1) "§l✔" else amount.addSeparators() + "$color$numberFormat" } row[get(rarity)] = string(format) } -- cgit