diff options
author | nea <nea@nea.moe> | 2023-06-11 00:30:51 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-06-11 00:30:51 +0200 |
commit | cd4c6e2102ab5fa9d666abf5fa5bdd9538513f18 (patch) | |
tree | 6b4937905c78309cbcef46457f46feac603ee611 /src/main/kotlin/moe/nea/firmament/commands | |
parent | 2df2ee1f18a26755e6fc4d9f1752338aa48cd3e9 (diff) | |
download | Firmament-cd4c6e2102ab5fa9d666abf5fa5bdd9538513f18.tar.gz Firmament-cd4c6e2102ab5fa9d666abf5fa5bdd9538513f18.tar.bz2 Firmament-cd4c6e2102ab5fa9d666abf5fa5bdd9538513f18.zip |
Refactor commands
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/commands')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/commands/rome.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt index df5bc80..ff8c21e 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt @@ -72,7 +72,7 @@ fun firmamentCommand() = literal("firmament") { thenArgument("item", string()) { item -> suggestsList { RepoManager.neuRepo.items.items.keys } thenExecute { - val itemName = SkyblockId(getString(context, "item")) + val itemName = SkyblockId(get(item)) source.sendFeedback(Text.translatable("firmament.price", itemName.neuItem)) val bazaarData = ItemCostData.bazaarData[itemName] if (bazaarData != null) { |