From efbef712130048e1bf39e66b15271bf663586eee Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 9 Feb 2024 12:00:50 +0100 Subject: Fix crash when rendering SkyBlock id in a string --- src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/firmament/gui/config') 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 3993bfa..7df98e3 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt @@ -27,7 +27,7 @@ class HudMetaHandler(val config: ManagedConfig, val label: MutableText, val widt } override fun emitGuiElements(opt: ManagedOption, guiAppender: GuiAppender) { - guiAppender.appendLabeledRow(opt.labelText, WButton(Text.translatable("firmament.hud.edit", label)) + guiAppender.appendLabeledRow(opt.labelText, WButton(Text.stringifiedTranslatable("firmament.hud.edit", label)) .also { it.setOnClick { MC.screen = JarvisIntegration.jarvis.getHudEditor( -- cgit