summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/HookNotify/HookNotify.lua
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-26 08:50:06 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-26 08:50:06 +0100
commit7a6ec4fb17c957f86452be92f3ef2908f94c9b0d (patch)
tree1a36bc6576e701ee1d1936f5d2f9c6175cf5d4cc /MCServer/Plugins/HookNotify/HookNotify.lua
parentAdded a function to dump all available Lua API functions into the Debuggers plugin. (diff)
downloadcuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.gz
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.bz2
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.lz
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.xz
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.zst
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/HookNotify/HookNotify.lua6
1 files changed, 3 insertions, 3 deletions
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