aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features
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/features
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/features')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/inventory/PriceData.kt6
1 files changed, 3 insertions, 3 deletions
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)
)
)
}