summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ChunkWorx/chunkworx_web.lua
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-14 10:57:07 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-14 10:57:07 +0200
commit7188a1f670d3ffeb46c2e914234f2b6009c41599 (patch)
treea4a2899805e1253a97e604d62d7def70d302f1c3 /MCServer/Plugins/ChunkWorx/chunkworx_web.lua
parentFixed order of initalisation (diff)
parentReduced cPluginManager code duplication (diff)
downloadcuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar
cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.gz
cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.bz2
cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.lz
cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.xz
cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.zst
cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.zip
Diffstat (limited to 'MCServer/Plugins/ChunkWorx/chunkworx_web.lua')
-rw-r--r--MCServer/Plugins/ChunkWorx/chunkworx_web.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/ChunkWorx/chunkworx_web.lua b/MCServer/Plugins/ChunkWorx/chunkworx_web.lua
index 6c5eab676..9aec38b12 100644
--- a/MCServer/Plugins/ChunkWorx/chunkworx_web.lua
+++ b/MCServer/Plugins/ChunkWorx/chunkworx_web.lua
@@ -43,7 +43,7 @@ function HandleRequest_Generation( Request )
local Content = ""
if (Request.PostParams["AGHRRRR"] ~= nil) then
GENERATION_STATE = 0
- WW_instance:SaveAllChunks()
+ WW_instance:QueueSaveAllChunks()
WW_instance:QueueUnloadUnusedChunks()
LOGERROR("" .. PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. ": works ABORTED by admin")
end