aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/commands
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-06-26 21:22:41 +0200
committerLinnea Gräf <nea@nea.moe>2025-06-26 21:22:41 +0200
commite5ff77c47f2936c34699a56b1394c1b5c18964e8 (patch)
treed11a34b90b7bfbd544b95be9d70d8a4dfdc5b7de /src/main/kotlin/commands
parent04fd3b66df7184db37df3306876bac8f95f8e71a (diff)
downloadFirmament-e5ff77c47f2936c34699a56b1394c1b5c18964e8.tar.gz
Firmament-e5ff77c47f2936c34699a56b1394c1b5c18964e8.tar.bz2
Firmament-e5ff77c47f2936c34699a56b1394c1b5c18964e8.zip
feat: Make use of bazaar stocks for better bazaar prices
Diffstat (limited to 'src/main/kotlin/commands')
-rw-r--r--src/main/kotlin/commands/rome.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/commands/rome.kt b/src/main/kotlin/commands/rome.kt
index 46ddef1..f808231 100644
--- a/src/main/kotlin/commands/rome.kt
+++ b/src/main/kotlin/commands/rome.kt
@@ -35,6 +35,7 @@ import moe.nea.firmament.util.SBData
import moe.nea.firmament.util.ScreenUtil
import moe.nea.firmament.util.SkyblockId
import moe.nea.firmament.util.accessors.messages
+import moe.nea.firmament.util.asBazaarStock
import moe.nea.firmament.util.collections.InstanceList
import moe.nea.firmament.util.collections.WeakCache
import moe.nea.firmament.util.mc.SNbtFormatter
@@ -160,7 +161,7 @@ fun firmamentCommand() = literal("firmament") {
thenExecute {
val itemName = SkyblockId(get(item))
source.sendFeedback(Text.stringifiedTranslatable("firmament.price", itemName.neuItem))
- val bazaarData = HypixelStaticData.bazaarData[itemName]
+ val bazaarData = HypixelStaticData.bazaarData[itemName.asBazaarStock]
if (bazaarData != null) {
source.sendFeedback(Text.translatable("firmament.price.bazaar"))
source.sendFeedback(