From 36d5ef29e45a57e88d9d608d1becb5cb7de27cf5 Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 31 Aug 2023 23:19:30 +0200 Subject: Add , seperatation to currency information --- src/main/kotlin/moe/nea/firmament/commands/rome.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin/moe/nea/firmament/commands/rome.kt') 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) ) ) } -- cgit