diff options
-rw-r--r-- | URGENT.txt | 1 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -6,4 +6,3 @@ - Add other recipe types (prio -1) - Fix banner data fixer (prio -1) - diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt index e090db7..84d24b5 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt @@ -31,7 +31,7 @@ class StringHandler(val config: ManagedConfig) : ManagedConfig.OptionHandler<Str } override fun fromJson(element: JsonElement): String { - return element.jsonPrimitive.toString() + return element.jsonPrimitive.content } override fun emitGuiElements(opt: ManagedConfig.Option<String>, guiAppender: GuiAppender) { |