diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-31 16:50:19 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-31 16:50:19 +0100 |
commit | 533fd68e2be8236c842f53fd0cafa52341226226 (patch) | |
tree | 81a466f33316468ea9586ff9c5608e6fa82cdade /src/main | |
parent | 1aa9a14eec09d2f2417806babcfc5bdf2c68a7fb (diff) | |
download | Firmament-533fd68e2be8236c842f53fd0cafa52341226226.tar.gz Firmament-533fd68e2be8236c842f53fd0cafa52341226226.tar.bz2 Firmament-533fd68e2be8236c842f53fd0cafa52341226226.zip |
feat: Add forward port for legacy predicates
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/Firmament.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/Firmament.kt b/src/main/kotlin/Firmament.kt index 2c2a6b7..01905c7 100644 --- a/src/main/kotlin/Firmament.kt +++ b/src/main/kotlin/Firmament.kt @@ -1,5 +1,6 @@ package moe.nea.firmament +import com.google.gson.Gson import com.mojang.brigadier.CommandDispatcher import io.ktor.client.HttpClient import io.ktor.client.plugins.UserAgent @@ -70,6 +71,7 @@ object Firmament { ignoreUnknownKeys = true encodeDefaults = true } + val gson = Gson() val tightJson = Json(from = json) { prettyPrint = false } |