diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-26 08:50:06 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-26 08:50:06 +0100 |
commit | 7a6ec4fb17c957f86452be92f3ef2908f94c9b0d (patch) | |
tree | 1a36bc6576e701ee1d1936f5d2f9c6175cf5d4cc /MCServer/Plugins/HookNotify | |
parent | Added a function to dump all available Lua API functions into the Debuggers plugin. (diff) | |
download | cuberite-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 'MCServer/Plugins/HookNotify')
-rw-r--r-- | MCServer/Plugins/HookNotify/HookNotify.lua | 6 |
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
|