Skip migration for deleted dimensions post first migration in server - #13874
Conversation
bb4f046 to
86de8ec
Compare
|
Isn't it possible to recreate the world_gen_settings.dat, like done in See an example of where this is a problem here: https://mclo.gs/rUXPi0V (This is not using your patch for world migration, but it should come to the same conclusion) Sure, this can be easily fixed by users, although I think it shouldn't be a too difficult fix for something that will definitely happen to more people in the future |
This require maybe not remove the gen file when migration its done for use when remove in vanilla (in vanilla you can force this error too but require more steps)... but this PR is for another thing, if you can open an issue related to this. |
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
86de8ec to
95528e7
Compare
Related to #13873 this PR with the help of @jpenilla try to manage the case where dimensions can be deleted of the server (post-migration to paper world structure).
Currently if you delete a dimension the server try to run a migration based in the changes what its not necesary, so we skip that logic and modify the later call to load worlds for manage to correctly regen that dimensions.
Know Issues.
world_gen_settings.dat(in paper that file is in the dimension directories), in vanilla you can get the same crash but need delete the file from the global data directory in the worldCloses #13873