aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--URGENT.txt1
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt2
2 files changed, 1 insertions, 2 deletions
diff --git a/URGENT.txt b/URGENT.txt
index 6bf6009..ce90300 100644
--- a/URGENT.txt
+++ b/URGENT.txt
@@ -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) {