From 7a6ec4fb17c957f86452be92f3ef2908f94c9b0d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 26 Jan 2013 07:50:06 +0000 Subject: Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names. -ING means the event is being processed and may be refused by a plugin, -ED means it has already happenned and the plugin cannot do anything about it. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1174 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/HookNotify/HookNotify.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MCServer/Plugins/HookNotify/HookNotify.lua') diff --git a/MCServer/Plugins/HookNotify/HookNotify.lua b/MCServer/Plugins/HookNotify/HookNotify.lua index 204f3cb85..d0221b668 100644 --- a/MCServer/Plugins/HookNotify/HookNotify.lua +++ b/MCServer/Plugins/HookNotify/HookNotify.lua @@ -27,7 +27,7 @@ function Initialize(Plugin) PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_EATING); PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_JOINED); PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_LEFT_CLICK); - PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_MOVED); + PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_MOVING); PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_PLACED_BLOCK); PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_PLACING_BLOCK); PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_RIGHT_CLICK); @@ -191,8 +191,8 @@ end -function OnPlayerMoved(...) - LogHook("OnPlayerMoved", unpack(arg)); +function OnPlayerMoving(...) + LogHook("OnPlayerMoving", unpack(arg)); end -- cgit v1.2.3