aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt
index 7563a7bc9..67468351f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt
@@ -81,7 +81,7 @@ object DianaProfitTracker {
)
)
- val profitFormat = NumberUtil.format(profit)
+ val profitFormat = profit.addSeparators()
val profitPrefix = if (profit < 0) "§c" else "§6"
val profitPerBurrow = profit / data.burrowsDug
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt
index 8d3da8564..979fa845f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt
@@ -112,7 +112,7 @@ object FishingProfitTracker {
)
)
- val profitFormat = NumberUtil.format(profit)
+ val profitFormat = profit.addSeparators()
val profitPrefix = if (profit < 0) "§c" else "§6"
val profitPerCatch = profit / data.totalCatchAmount
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt
index 78391a069..6ff20129b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt
@@ -168,7 +168,7 @@ object SlayerProfitTracker {
)
)
- val profitFormat = NumberUtil.format(profit)
+ val profitFormat = profit.addSeparators()
val profitPrefix = if (profit < 0) "§c" else "§6"
val profitPerBoss = profit / itemLog.slayerCompletedCount