diff options
author | Alexander Harkness <me@bearbin.net> | 2020-09-21 14:12:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 14:12:09 +0200 |
commit | 8de71fc9d6f2226e84074e941139ca0a8f1e6b0f (patch) | |
tree | aaf16294e18fd032c46bd4f38ecb85060fa0ac42 /src/Server.cpp | |
parent | Implement fortune for ores, glowstone and sea lanterns (#4897) (diff) | |
download | cuberite-8de71fc9d6f2226e84074e941139ca0a8f1e6b0f.tar cuberite-8de71fc9d6f2226e84074e941139ca0a8f1e6b0f.tar.gz cuberite-8de71fc9d6f2226e84074e941139ca0a8f1e6b0f.tar.bz2 cuberite-8de71fc9d6f2226e84074e941139ca0a8f1e6b0f.tar.lz cuberite-8de71fc9d6f2226e84074e941139ca0a8f1e6b0f.tar.xz cuberite-8de71fc9d6f2226e84074e941139ca0a8f1e6b0f.tar.zst cuberite-8de71fc9d6f2226e84074e941139ca0a8f1e6b0f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index a1dedf333..67629ef2c 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -648,7 +648,8 @@ void cServer::Shutdown(void) // Notify the tick thread and wait for it to terminate: m_TickThread.Stop(); - cRoot::Get()->SaveAllChunks(); + // Save all chunks in all worlds, wait for chunks to be sent to the ChunkStorage queue for each world: + cRoot::Get()->SaveAllChunksNow(); // Remove all clients: cCSLock Lock(m_CSClients); |