aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/fame
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-14 13:36:06 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-14 13:36:06 +0200
commit9f55fd15544e187491d78e2c5ecf2f2ed8ac76f1 (patch)
tree3db7b5a80d23714519ae45b8b5ee16e7c11f0da6 /src/main/java/at/hannibal2/skyhanni/features/fame
parent2f285d2944a00dfd2dab9bca8da2055a1506193e (diff)
downloadskyhanni-9f55fd15544e187491d78e2c5ecf2f2ed8ac76f1.tar.gz
skyhanni-9f55fd15544e187491d78e2c5ecf2f2ed8ac76f1.tar.bz2
skyhanni-9f55fd15544e187491d78e2c5ecf2f2ed8ac76f1.zip
creating and using Number.format()
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/fame')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt
index c707e2209..98f2b999a 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt
@@ -23,8 +23,8 @@ import at.hannibal2.skyhanni.utils.NEUInternalName
import at.hannibal2.skyhanni.utils.NEUItems
import at.hannibal2.skyhanni.utils.NEUItems.getItemStack
import at.hannibal2.skyhanni.utils.NEUItems.getPrice
-import at.hannibal2.skyhanni.utils.NumberUtil
import at.hannibal2.skyhanni.utils.NumberUtil.addSeparators
+import at.hannibal2.skyhanni.utils.NumberUtil.format
import at.hannibal2.skyhanni.utils.RegexUtils.matchFirst
import at.hannibal2.skyhanni.utils.RegexUtils.matches
import at.hannibal2.skyhanni.utils.RenderUtils.highlight
@@ -167,7 +167,7 @@ object CityProjectFeatures {
}) { inInventory && !NEUItems.neuHasFocus() })
val price = internalName.getPrice(false) * amount
- val format = NumberUtil.format(price)
+ val format = price.format()
list.add(" §7(§6$format§7)")
add(list)
}