aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/commands
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-31 23:19:30 +0200
committernea <nea@nea.moe>2023-08-31 23:19:30 +0200
commit36d5ef29e45a57e88d9d608d1becb5cb7de27cf5 (patch)
treeecf7df1eaa4feffee6786e5cc62a5305c28963e9 /src/main/kotlin/moe/nea/firmament/commands
parentece429c361b0ac30490d74ec33c6ef4a74a1fc5d (diff)
downloadFirmament-36d5ef29e45a57e88d9d608d1becb5cb7de27cf5.tar.gz
Firmament-36d5ef29e45a57e88d9d608d1becb5cb7de27cf5.tar.bz2
Firmament-36d5ef29e45a57e88d9d608d1becb5cb7de27cf5.zip
Add , seperatation to currency information
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/commands')
-rw-r--r--src/main/kotlin/moe/nea/firmament/commands/rome.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt
index 221c7c1..be2aefd 100644
--- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt
+++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt
@@ -83,7 +83,7 @@ fun firmamentCommand() = literal("firmament") {
source.sendFeedback(
Text.translatable(
"firmament.price.bazaar.buy.price",
- FirmFormatters.toString(bazaarData.quickStatus.buyPrice, 1)
+ FirmFormatters.formatCurrency(bazaarData.quickStatus.buyPrice, 1)
)
)
source.sendFeedback(
@@ -95,7 +95,7 @@ fun firmamentCommand() = literal("firmament") {
source.sendFeedback(
Text.translatable(
"firmament.price.bazaar.sell.price",
- FirmFormatters.toString(bazaarData.quickStatus.sellPrice, 1)
+ FirmFormatters.formatCurrency(bazaarData.quickStatus.sellPrice, 1)
)
)
source.sendFeedback(
@@ -110,7 +110,7 @@ fun firmamentCommand() = literal("firmament") {
source.sendFeedback(
Text.translatable(
"firmament.price.lowestbin",
- FirmFormatters.toString(lowestBin, 1)
+ FirmFormatters.formatCurrency(lowestBin, 1)
)
)
}