diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-28 17:21:28 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-28 17:21:28 +0100 |
commit | f7721c258bb2a85cfdb170b52d4592168f267c08 (patch) | |
tree | d725635b86d79f658e53a954ab1d48648afdb69f /MCServer/Plugins | |
parent | Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming. (diff) | |
download | cuberite-f7721c258bb2a85cfdb170b52d4592168f267c08.tar cuberite-f7721c258bb2a85cfdb170b52d4592168f267c08.tar.gz cuberite-f7721c258bb2a85cfdb170b52d4592168f267c08.tar.bz2 cuberite-f7721c258bb2a85cfdb170b52d4592168f267c08.tar.lz cuberite-f7721c258bb2a85cfdb170b52d4592168f267c08.tar.xz cuberite-f7721c258bb2a85cfdb170b52d4592168f267c08.tar.zst cuberite-f7721c258bb2a85cfdb170b52d4592168f267c08.zip |
Diffstat (limited to 'MCServer/Plugins')
-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 9bae91d3c..2d74a38d8 100644 --- a/MCServer/Plugins/HookNotify/HookNotify.lua +++ b/MCServer/Plugins/HookNotify/HookNotify.lua @@ -17,7 +17,7 @@ function Initialize(Plugin) PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHAT);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHUNK_GENERATED);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHUNK_GENERATING);
- PluginManager:AddHook(Plugin, cPluginManager.HOOK_COLLECT_PICKUP);
+ PluginManager:AddHook(Plugin, cPluginManager.HOOK_COLLECTING_PICKUP);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_CRAFTING_NO_RECIPE);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_DISCONNECT);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_HANDSHAKE);
@@ -123,8 +123,8 @@ end -function OnCollectPickup(...)
- LogHook("OnCollectPickup", unpack(arg));
+function OnCollectingPickup(...)
+ LogHook("OnCollectingPickup", unpack(arg));
end
|