aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/TrophyFishInfo.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/TrophyFishInfo.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/TrophyFishInfo.kt
index 104a71a07..629aaa02f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/TrophyFishInfo.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/TrophyFishInfo.kt
@@ -37,9 +37,7 @@ data class TrophyFishInfo(
)
}
- fun getFilletValue(rarity: TrophyRarity): Int {
- return fillet.getOrDefault(rarity, -1)
- }
+ fun getFilletValue(rarity: TrophyRarity) = fillet.getOrDefault(rarity, -1)
private fun formatCount(counts: Map<TrophyRarity, Int>, rarity: TrophyRarity): String {
val count = counts.getOrDefault(rarity, 0)