diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-29 08:03:19 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-29 08:03:19 +0200 |
commit | 64f83ca3f4c70b6008ad269b958fae5515d3c67c (patch) | |
tree | 5916c034bfc697b4a2de2450defb6d5d1b3fcf81 /src/main/java/at/hannibal2 | |
parent | 2250aa8b2a64ea1f1850b74c5f4f34ffa617609e (diff) | |
download | skyhanni-64f83ca3f4c70b6008ad269b958fae5515d3c67c.tar.gz skyhanni-64f83ca3f4c70b6008ad269b958fae5515d3c67c.tar.bz2 skyhanni-64f83ca3f4c70b6008ad269b958fae5515d3c67c.zip |
fixed trophy fish display shows checks everywhere
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishDisplay.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |