diff options
author | Mattes D <github@xoft.cz> | 2014-02-18 07:07:45 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-02-18 07:07:45 +0100 |
commit | d05964cbd2d9c09aed4c11698009d6f09d93f29f (patch) | |
tree | d73456a33f673baa5fec5e79cc857ff5f748ce15 /MCServer/Plugins | |
parent | Merge pull request #684 from narroo/Bug402 (diff) | |
parent | Fixed Chunkworx, Issue 673. (diff) | |
download | cuberite-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')
-rw-r--r-- | MCServer/Plugins/ChunkWorx/chunkworx_main.lua | 2 | ||||
-rw-r--r-- | MCServer/Plugins/ChunkWorx/chunkworx_web.lua | 2 |
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>" |