aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt
index 5e15a3a89..57595c1c1 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt
@@ -178,7 +178,7 @@ class SkyHanniItemTracker<Data : ItemTrackerData>(
}
fun addTotalProfit(profit: Double, totalAmount: Long, action: String): Renderable {
- val profitFormat = profit.toInt().addSeparators()
+ val profitFormat = profit.toLong().addSeparators()
val profitPrefix = if (profit < 0) "§c" else "§6"
val tips = if (totalAmount > 0) {