aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt
index e01f4658b..59d250b0a 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt
@@ -164,7 +164,7 @@ object SackAPI {
val trophyRarityName = internal.substringAfterLast("_")
val info = TrophyFishManager.getInfo(trophyFishName)
val rarity = TrophyRarity.getByName(trophyRarityName) ?: TrophyRarity.BRONZE
- val filletValue = (info?.getFilletValue(rarity) ?: 0) * stored.toLong()
+ val filletValue = (info?.getFilletValue(rarity) ?: 0) * stored.formatNumber()
item.magmaFish = filletValue
"MAGMA_FISH".asInternalName().sackPrice(filletValue.toString())
} else {