mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +09:00
new player save format writing
This commit is contained in:
@@ -43,6 +43,9 @@ object Common {
|
||||
|
||||
// install custom (de)serialiser
|
||||
init {
|
||||
jsoner.ignoreUnknownFields = true
|
||||
|
||||
|
||||
// BigInteger
|
||||
jsoner.setSerializer(BigInteger::class.java, object : Json.Serializer<BigInteger> {
|
||||
override fun write(json: Json, obj: BigInteger?, knownType: Class<*>?) {
|
||||
|
||||
Reference in New Issue
Block a user