mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
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:
parent
c60aaed623
commit
1e2e8f4643
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue