summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ChunkWorx/chunkworx_main.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-21 22:03:50 +0200
committermadmaxoft <github@xoft.cz>2013-08-21 22:03:50 +0200
commit268661990dbfde430383ce21d9684e37ee2135d9 (patch)
treeb9961de605d657fa89f5a5e6a3d2a7df8113c101 /MCServer/Plugins/ChunkWorx/chunkworx_main.lua
parentUpdated the Debuggers plugin to the #121 API. (diff)
downloadcuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar
cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.gz
cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.bz2
cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.lz
cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.xz
cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.zst
cuberite-268661990dbfde430383ce21d9684e37ee2135d9.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/ChunkWorx/chunkworx_main.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/MCServer/Plugins/ChunkWorx/chunkworx_main.lua b/MCServer/Plugins/ChunkWorx/chunkworx_main.lua
index 66cf00b97..ab9962387 100644
--- a/MCServer/Plugins/ChunkWorx/chunkworx_main.lua
+++ b/MCServer/Plugins/ChunkWorx/chunkworx_main.lua
@@ -26,8 +26,7 @@ function Initialize(Plugin)
PLUGIN:SetName("ChunkWorx")
PLUGIN:SetVersion(6)
- PluginManager = cRoot:Get():GetPluginManager()
- PluginManager:AddHook(PLUGIN, cPluginManager.HOOK_TICK)
+ cPluginManager.AddHook(cPluginManager.HOOK_TICK, OnTick)
Plugin:AddWebTab("(Re)Generation", HandleRequest_Generation)