aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:07:18 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:07:18 +0100
commit9cb57df01efca37e64531ae86471a593e7b2e487 (patch)
tree22085e5a85d22f0b628911defde894c4b751c3e4 /src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
parentb464bf910e62a9eeb2e71a3030e4bf54b3e9ff3b (diff)
downloadSkyHanni-9cb57df01efca37e64531ae86471a593e7b2e487.tar.gz
SkyHanni-9cb57df01efca37e64531ae86471a593e7b2e487.tar.bz2
SkyHanni-9cb57df01efca37e64531ae86471a593e7b2e487.zip
New sort logic.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
index 8ddf0eba7..f2b188787 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
@@ -4,7 +4,6 @@ import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.ProfileApiDataLoadedEvent
import at.hannibal2.skyhanni.features.bazaar.BazaarApi
import at.hannibal2.skyhanni.features.bazaar.BazaarData
-import at.hannibal2.skyhanni.test.GriffinJavaUtils
import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName
import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.RenderUtils.renderString
@@ -95,11 +94,11 @@ class CollectionCounter {
}
private fun updateDisplay() {
- val format = GriffinJavaUtils.formatInteger(itemAmount)
+ val format = LorenzUtils.formatInteger(itemAmount)
var gainText = ""
if (recentGain != 0) {
- gainText = "§a+" + GriffinJavaUtils.formatInteger(recentGain)
+ gainText = "§a+" + LorenzUtils.formatInteger(recentGain)
}
display = "$itemName collection: §e$format $gainText"