aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-29 08:35:24 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-29 08:35:24 +0200
commit3b093ff5b689a871ae7ceaf1bd56d047f32d4162 (patch)
treeb1a9026e744c619eb6f73b14fbb76a7b57c17dac /src/main/java/at/hannibal2/skyhanni
parent85fd32ffd2eb2501c65af3a1c093eea5a23483e0 (diff)
downloadskyhanni-3b093ff5b689a871ae7ceaf1bd56d047f32d4162.tar.gz
skyhanni-3b093ff5b689a871ae7ceaf1bd56d047f32d4162.tar.bz2
skyhanni-3b093ff5b689a871ae7ceaf1bd56d047f32d4162.zip
fixed trophy fish onlyShowMissing logic
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishDisplay.kt2
1 files changed, 1 insertions, 1 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 0845bf261..847731c65 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
@@ -122,7 +122,7 @@ class TrophyFishDisplay {
table: MutableList<List<Renderable>>,
) {
get(config.onlyShowMissing.get())?.let { atLeast ->
- val list = TrophyRarity.entries.filter { it <= atLeast }
+ val list = TrophyRarity.entries.filter { it == atLeast }
if (list.all { (data[it] ?: 0) > 0 }) {
return
}