feat: Add forward port for legacy predicates

This commit is contained in:
Linnea Gräf
2024-12-31 16:50:19 +01:00
parent 1aa9a14eec
commit 533fd68e2b
5 changed files with 68 additions and 5 deletions

View File

@@ -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
}