mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 08:27:04 +00:00
JesterContent fields version, fen, and history were omitted from serialized JSON because kotlinx.serialization skips default values. Jester's isStartGameEvent checks arrayEquals(json.history, []) which fails when the field is absent (undefined !== []). Added @EncodeDefault to version, fen, and history so they are always included in the JSON output regardless of value. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>