Fix saving in unloadWorld

Change savingDisabled to false to ensure ServerLevel's saving logic gets called when unloadWorld is called with save = true
This commit is contained in:
Philip Kelley 2022-03-16 12:05:59 +00:00
parent c60aaed623
commit 1e2e8f4643

View file

@ -1385,7 +1385,7 @@ public final class CraftServer implements Server {
try {
if (save) {
handle.save(null, true, true);
handle.save(null, true, false); // Paper - Fix saving in unloadWorld
}
handle.getChunkSource().close(save);