diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt index 1e5ced8..3993bfa 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt @@ -26,7 +26,7 @@ class HudMetaHandler(val config: ManagedConfig, val label: MutableText, val widt return HudMeta(Json.decodeFromJsonElement(element), label, width, height) } - override fun emitGuiElements(opt: ManagedConfig.Option<HudMeta>, guiAppender: GuiAppender) { + override fun emitGuiElements(opt: ManagedOption<HudMeta>, guiAppender: GuiAppender) { guiAppender.appendLabeledRow(opt.labelText, WButton(Text.translatable("firmament.hud.edit", label)) .also { it.setOnClick { |