We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b43a3b commit 1a5cb92Copy full SHA for 1a5cb92
src/main/kotlin/com/chattriggers/ctjs/CTJS.kt
@@ -74,7 +74,10 @@ class CTJS : ClientModInitializer {
74
internal val sounds = mutableListOf<Sound>()
75
internal val isDevelopment = FabricLoader.getInstance().isDevelopmentEnvironment
76
77
- internal val json = Json { useAlternativeNames = true }
+ internal val json = Json {
78
+ useAlternativeNames = true
79
+ ignoreUnknownKeys = true
80
+ }
81
82
@JvmOverloads
83
internal fun makeWebRequest(url: String, userAgent: String? = "Mozilla/5.0 (ChatTriggers)"): URLConnection =
0 commit comments