ROOT CAUSE: getMapCodec(Runnable) returns MapCodec (not Codec). createCodec(Runnable) returns Codec<Map<UUID, SerializableStorage>>. Reflection on getMapCodec silently failed because the returned MapCodec.decode() has a different signature than Codec.decode(). Both save fallback and restore codec paths now use createCodec(). RS2 uses ErrorHandlingMapCodec with UUIDUtil.STRING_CODEC for keys, so the encoded format IS a CompoundTag with UUID strings as keys. Vyrriox |
||
|---|---|---|
| .. | ||
| config | ||
| mixin/cobblemon | ||
| sync | ||
| util | ||
| CommandInit.java | ||
| PlayerSync.java | ||