aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/debug/itemeditor
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-06-26 18:21:02 +0200
committerLinnea Gräf <nea@nea.moe>2025-06-26 18:21:11 +0200
commit1c5d0df368471031f892330de7628ff78a6204ed (patch)
tree6d222fb45f3fbacff255de5347314204189a8b3c /src/main/kotlin/features/debug/itemeditor
parente926550bd19bddb0a0e026723bc6113ac09ea76f (diff)
downloadFirmament-1c5d0df368471031f892330de7628ff78a6204ed.tar.gz
Firmament-1c5d0df368471031f892330de7628ff78a6204ed.tar.bz2
Firmament-1c5d0df368471031f892330de7628ff78a6204ed.zip
feat(internal): Add a tab list api
Diffstat (limited to 'src/main/kotlin/features/debug/itemeditor')
-rw-r--r--src/main/kotlin/features/debug/itemeditor/ItemExporter.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/features/debug/itemeditor/ItemExporter.kt b/src/main/kotlin/features/debug/itemeditor/ItemExporter.kt
index 6602c6d..d7d17aa 100644
--- a/src/main/kotlin/features/debug/itemeditor/ItemExporter.kt
+++ b/src/main/kotlin/features/debug/itemeditor/ItemExporter.kt
@@ -26,6 +26,7 @@ import moe.nea.firmament.commands.thenExecute
import moe.nea.firmament.commands.thenLiteral
import moe.nea.firmament.events.CommandEvent
import moe.nea.firmament.events.HandledScreenKeyPressedEvent
+import moe.nea.firmament.features.debug.DeveloperFeatures
import moe.nea.firmament.features.debug.ExportedTestConstantMeta
import moe.nea.firmament.features.debug.PowerUserTools
import moe.nea.firmament.repo.RepoDownloadManager
@@ -97,7 +98,7 @@ object ItemExporter {
@Subscribe
fun onCommand(event: CommandEvent.SubCommand) {
- event.subcommand("dev") {
+ event.subcommand(DeveloperFeatures.DEVELOPER_SUBCOMMAND) {
thenLiteral("reexportlore") {
thenArgument("itemid", StringArgumentType.string()) { itemid ->
suggestsList { RepoManager.neuRepo.items.items.keys }