Closed Drathonix closed 3 days ago
The async serialization system in C2ME expects the ChunkSerializer#deserialize
and ChunkSerializer#serialize
to be parallel capable. MixinWorldChunk#setup
break this assumption and therefore it is crashing there since it is not parallel capable.
The easiest way to solve this is to synchronize ChunkDataManager$LevelChunkLoaderManager#data
and ChunkDataManager#levelManagers
.
The async serialization system in C2ME expects the
ChunkSerializer#deserialize
andChunkSerializer#serialize
to be parallel capable.MixinWorldChunk#setup
break this assumption and therefore it is crashing there since it is not parallel capable.The easiest way to solve this is to synchronize
ChunkDataManager$LevelChunkLoaderManager#data
andChunkDataManager#levelManagers
.
You know whats funny, I already patched this in an alpha but I completely forgot about the "sychronized" modifier 🤦 . I'll make sure to undo my stupid and apply the smart.
Fixed in 1.0.5
Encountered originally in #3, CCME causes a conflict with the FastUtil rehash function for our chunk data manager.