mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 12:42:05 -07: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:
@@ -1385,7 +1385,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (save) {
|
if (save) {
|
||||||
handle.save(null, true, true);
|
handle.save(null, true, false); // Paper - Fix saving in unloadWorld
|
||||||
}
|
}
|
||||||
|
|
||||||
handle.getChunkSource().close(save);
|
handle.getChunkSource().close(save);
|
||||||
|
Reference in New Issue
Block a user