diff options
author | Mattes D <github@xoft.cz> | 2015-05-21 12:57:25 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-21 12:57:25 +0200 |
commit | 6bafff056038ca5909343b454318ea3dc15c0793 (patch) | |
tree | 6a6b223ffd7e5b2edf9f0f7f45b76f20f11fecaf /MCServer | |
parent | Merge pull request #2085 from mc-server/EquifaxCerts (diff) | |
parent | Renamed hook HOOK_ENTITY_CHANGE_WORLD (diff) | |
download | cuberite-6bafff056038ca5909343b454318ea3dc15c0793.tar cuberite-6bafff056038ca5909343b454318ea3dc15c0793.tar.gz cuberite-6bafff056038ca5909343b454318ea3dc15c0793.tar.bz2 cuberite-6bafff056038ca5909343b454318ea3dc15c0793.tar.lz cuberite-6bafff056038ca5909343b454318ea3dc15c0793.tar.xz cuberite-6bafff056038ca5909343b454318ea3dc15c0793.tar.zst cuberite-6bafff056038ca5909343b454318ea3dc15c0793.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnEntityChangedWorld.lua | 2 | ||||
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnEntityChangingWorld.lua (renamed from MCServer/Plugins/APIDump/Hooks/OnEntityChangeWorld.lua) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnEntityChangedWorld.lua b/MCServer/Plugins/APIDump/Hooks/OnEntityChangedWorld.lua index 00645c152..6675fdbe0 100644 --- a/MCServer/Plugins/APIDump/Hooks/OnEntityChangedWorld.lua +++ b/MCServer/Plugins/APIDump/Hooks/OnEntityChangedWorld.lua @@ -7,7 +7,7 @@ return Desc = [[ This hook is called after the server has moved the {{cEntity|entity}} to the given world. This is an information-only callback, the entity is already in the new world.<p> - See also the {{OnEntityChangeWorld|HOOK_ENTITY_CHANGE_WORLD}} hook for a similar hook called before the + See also the {{OnEntityChangingWorld|HOOK_ENTITY_CHANGING_WORLD}} hook for a similar hook called before the entity is moved to the new world. ]], Params = diff --git a/MCServer/Plugins/APIDump/Hooks/OnEntityChangeWorld.lua b/MCServer/Plugins/APIDump/Hooks/OnEntityChangingWorld.lua index 25072ca5c..521f829c7 100644 --- a/MCServer/Plugins/APIDump/Hooks/OnEntityChangeWorld.lua +++ b/MCServer/Plugins/APIDump/Hooks/OnEntityChangingWorld.lua @@ -1,9 +1,9 @@ return { - HOOK_ENTITY_CHANGE_WORLD = + HOOK_ENTITY_CHANGING_WORLD = { CalledWhen = "Before a entity is changing the world.", - DefaultFnName = "OnEntityChangeWorld", -- also used as pagename + DefaultFnName = "OnEntityChangingWorld", -- also used as pagename Desc = [[ This hook is called before the server moves the {{cEntity|entity}} to the given world. Plugins may refuse the changing of the entity to the new world.<p> @@ -20,7 +20,7 @@ return returns true, no other callback is called for this event and the change of the entity to the world is cancelled. ]], - }, -- HOOK_ENTITY_CHANGE_WORLD + }, -- HOOK_ENTITY_CHANGING_WORLD } |