diff options
author | nea <nea@nea.moe> | 2023-08-31 23:19:30 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-31 23:19:30 +0200 |
commit | 36d5ef29e45a57e88d9d608d1becb5cb7de27cf5 (patch) | |
tree | ecf7df1eaa4feffee6786e5cc62a5305c28963e9 /src/main/kotlin/moe/nea/firmament/commands | |
parent | ece429c361b0ac30490d74ec33c6ef4a74a1fc5d (diff) | |
download | Firmament-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.kt | 6 |
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) ) ) } |