summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ChunkWorx
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-18 07:07:45 +0100
committerMattes D <github@xoft.cz>2014-02-18 07:07:45 +0100
commitd05964cbd2d9c09aed4c11698009d6f09d93f29f (patch)
treed73456a33f673baa5fec5e79cc857ff5f748ce15 /MCServer/Plugins/ChunkWorx
parentMerge pull request #684 from narroo/Bug402 (diff)
parentFixed Chunkworx, Issue 673. (diff)
downloadcuberite-d05964cbd2d9c09aed4c11698009d6f09d93f29f.tar
cuberite-d05964cbd2d9c09aed4c11698009d6f09d93f29f.tar.gz
cuberite-d05964cbd2d9c09aed4c11698009d6f09d93f29f.tar.bz2
cuberite-d05964cbd2d9c09aed4c11698009d6f09d93f29f.tar.lz
cuberite-d05964cbd2d9c09aed4c11698009d6f09d93f29f.tar.xz
cuberite-d05964cbd2d9c09aed4c11698009d6f09d93f29f.tar.zst
cuberite-d05964cbd2d9c09aed4c11698009d6f09d93f29f.zip
Diffstat (limited to 'MCServer/Plugins/ChunkWorx')
-rw-r--r--MCServer/Plugins/ChunkWorx/chunkworx_main.lua2
-rw-r--r--MCServer/Plugins/ChunkWorx/chunkworx_web.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/ChunkWorx/chunkworx_main.lua b/MCServer/Plugins/ChunkWorx/chunkworx_main.lua
index f74c4ea2d..88ecb3979 100644
--- a/MCServer/Plugins/ChunkWorx/chunkworx_main.lua
+++ b/MCServer/Plugins/ChunkWorx/chunkworx_main.lua
@@ -122,7 +122,7 @@ function OnTick( DeltaTime )
end
end
WW_instance:QueueSaveAllChunks()
- WW_instance:UnloadUnusedChunks()
+ WW_instance:QueueUnloadUnusedChunks()
end
end
end \ No newline at end of file
diff --git a/MCServer/Plugins/ChunkWorx/chunkworx_web.lua b/MCServer/Plugins/ChunkWorx/chunkworx_web.lua
index 44993f81c..6c5eab676 100644
--- a/MCServer/Plugins/ChunkWorx/chunkworx_web.lua
+++ b/MCServer/Plugins/ChunkWorx/chunkworx_web.lua
@@ -44,7 +44,7 @@ function HandleRequest_Generation( Request )
if (Request.PostParams["AGHRRRR"] ~= nil) then
GENERATION_STATE = 0
WW_instance:SaveAllChunks()
- WW_instance:UnloadUnusedChunks()
+ WW_instance:QueueUnloadUnusedChunks()
LOGERROR("" .. PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. ": works ABORTED by admin")
end
--Content = Content .. "<head><meta http-equiv=\"refresh\" content=\"2;\"></head>"