diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-17 01:46:09 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-17 01:46:09 +0100 |
commit | ad0c264c347367bfd02437e25d2835e3cd0d3737 (patch) | |
tree | 965e4377bef63b8f658d52bcd015022c2f8d4872 /src/main | |
parent | 35eea60d6d77681d5fc1964a3a1d29b531ee1e28 (diff) | |
download | skyhanni-ad0c264c347367bfd02437e25d2835e3cd0d3737.tar.gz skyhanni-ad0c264c347367bfd02437e25d2835e3cd0d3737.tar.bz2 skyhanni-ad0c264c347367bfd02437e25d2835e3cd0d3737.zip |
made formats better
Diffstat (limited to 'src/main')
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 |