dcme-mc1.21.3-fabric-1.0.2.jar
Curse Maven Snippet
What's new
DCME 1.0.2
Fixed
- The structure cache leaked from one world into the next. Entering a second world in the same session could make DCME play music tied to structures that only exist in the previous world, and the mistake was then written to disk.
- The cache is loaded on server start, which fires every time a world is loaded - not once per game launch - while the cache itself lives for the whole session. The loading routine only emptied it on its normal path: when the world had no cache file yet, it returned early and left the previous world's entries in place.
- Anything recorded afterwards marked the cache dirty, so on leaving that world the save routine wrote both worlds' entries into the new world's cache file. The contamination outlived the session.
- The cache is now emptied on entry to the loading routine, which covers every exit path at once rather than the one that happened to be noticed.
Compatibility
- No config, world or save data changes. Drop-in replacement.
- Existing cache files stay valid. A file already polluted by the old behaviour repairs itself as the world is explored again.

