From 752057fb1b3a71058b5391bde9b0e21d87196539 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 13 Jan 2013 11:10:26 +0000 Subject: Forgotten files for previous merge commit (rev 1139) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1140 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/ChunkWorx/chunkworx_main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MCServer/Plugins/ChunkWorx/chunkworx_main.lua') diff --git a/MCServer/Plugins/ChunkWorx/chunkworx_main.lua b/MCServer/Plugins/ChunkWorx/chunkworx_main.lua index 95d17aefc..66cf00b97 100644 --- a/MCServer/Plugins/ChunkWorx/chunkworx_main.lua +++ b/MCServer/Plugins/ChunkWorx/chunkworx_main.lua @@ -27,7 +27,7 @@ function Initialize(Plugin) PLUGIN:SetVersion(6) PluginManager = cRoot:Get():GetPluginManager() - PluginManager:AddHook(PLUGIN, cPluginManager.E_PLUGIN_TICK) + PluginManager:AddHook(PLUGIN, cPluginManager.HOOK_TICK) Plugin:AddWebTab("(Re)Generation", HandleRequest_Generation) @@ -71,7 +71,7 @@ function OnDisable() LOG(PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. " is shutting down...") end -function Tick( DeltaTime ) +function OnTick( DeltaTime ) if (GENERATION_STATE == 1 or GENERATION_STATE == 3) then LOGINFO("" .. PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. ": works STARTED!") LOGINFO("" .. PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. ": At world: " .. WORK_WORLD) -- cgit v1.2.3