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/features/inventory/PriceData.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin/moe/nea/firmament/features') diff --git a/src/main/kotlin/moe/nea/firmament/features/inventory/PriceData.kt b/src/main/kotlin/moe/nea/firmament/features/inventory/PriceData.kt index 3ae7b00..8062357 100644 --- a/src/main/kotlin/moe/nea/firmament/features/inventory/PriceData.kt +++ b/src/main/kotlin/moe/nea/firmament/features/inventory/PriceData.kt @@ -38,13 +38,13 @@ object PriceData : FirmamentFeature { it.lines.add( Text.translatable( "firmament.tooltip.bazaar.sell-order", - FirmFormatters.toString(bazaarData.quickStatus.sellPrice, 1) + FirmFormatters.formatCurrency(bazaarData.quickStatus.sellPrice, 1) ) ) it.lines.add( Text.translatable( "firmament.tooltip.bazaar.buy-order", - FirmFormatters.toString(bazaarData.quickStatus.buyPrice, 1) + FirmFormatters.formatCurrency(bazaarData.quickStatus.buyPrice, 1) ) ) } else if (lowestBin != null) { @@ -52,7 +52,7 @@ object PriceData : FirmamentFeature { it.lines.add( Text.translatable( "firmament.tooltip.ah.lowestbin", - FirmFormatters.toString(lowestBin, 1) + FirmFormatters.formatCurrency(lowestBin, 1) ) ) } -- cgit