Skip to content

Commit

Permalink
Fix BackingStateConfigSerialization
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtStudioCode committed Dec 7, 2024
1 parent 506e7f6 commit 115ac2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal object BackingStateConfigSerialization : JsonSerializer<BackingStateCon

override fun serialize(src: BackingStateConfig, typeOfSrc: Type, context: JsonSerializationContext): JsonElement {
val obj = JsonObject()
obj.addProperty("type", src::class.jvmName)
obj.addProperty("type", src.type::class.jvmName)
obj.addProperty("id", src.id)
obj.addProperty("waterlogged", src.waterlogged)
return obj
Expand Down

0 comments on commit 115ac2c

Please sign in to comment.