From ad0c264c347367bfd02437e25d2835e3cd0d3737 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 17 Dec 2023 01:46:09 +0100 Subject: made formats better --- .../at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt | 2 +- .../hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt | 2 +- .../java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main') 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 -- cgit