Fixes the "Failed decoding custom payload curios:sync_stack" error that causes you to be disconnected, even from integrated server (i.e. local play, no server).
github issue: https://github.com/TheIllusiveC4/Curios/issues/635
Pull Request was provided for the 26.x branch, but fix tested for 1.21.1: https://github.com/TheIllusiveC4/Curios/pull/643

