summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-12 13:32:52 +0100
committerMattes D <github@xoft.cz>2014-12-12 13:32:52 +0100
commit6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4 (patch)
tree615e236b22fb0a1b429cce0334f59166c874e1b4 /MCServer/Plugins
parentDebuggers: Added loadchunk and preparechunk commands. (diff)
downloadcuberite-6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4.tar
cuberite-6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4.tar.gz
cuberite-6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4.tar.bz2
cuberite-6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4.tar.lz
cuberite-6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4.tar.xz
cuberite-6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4.tar.zst
cuberite-6cd7e52eb760c3c58e647e8ec588f2b60e1c92e4.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index 74bfbf512..a047488b5 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -1689,7 +1689,12 @@ function HandleConsolePrepareChunk(a_Split)
end
end
- -- TODO: Queue the chunk for preparing, log a message when prepared
+ -- Queue the chunk for preparing, log a message when prepared:
+ world:PrepareChunk(chunkX, chunkZ,
+ function(a_CBChunkX, a_CBChunkZ)
+ LOG("Chunk [" .. chunkX .. ", " .. chunkZ .. "] has been prepared")
+ end
+ )
return true
end