diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-04-26 01:43:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 09:43:13 +1000 |
commit | 9881e5a9c876c6b0b85cd1a7b295151467ad4470 (patch) | |
tree | 8e049876099b803c4def534f1e0daf3987e02964 /src/main/java | |
parent | c388ed72e5414411f9b1b3afe6aae4b3b72b8b4e (diff) | |
download | skyhanni-9881e5a9c876c6b0b85cd1a7b295151467ad4470.tar.gz skyhanni-9881e5a9c876c6b0b85cd1a7b295151467ad4470.tar.bz2 skyhanni-9881e5a9c876c6b0b85cd1a7b295151467ad4470.zip |
Fix: Profit Trackers int limit (#1554)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt | 2 |
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) { |