summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-23 12:31:03 +0200
committertycho <work.tycho@gmail.com>2015-05-23 12:31:03 +0200
commit1577a080ee4e2fb5baaee8c8c98149eb8418b6c6 (patch)
treef8d9453f07a7475562b68ccfbfa92ad817a206be /MCServer
parentFix tests (diff)
parentMerge pull request #2108 from mc-server/tgh-boolean (diff)
downloadcuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar
cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.gz
cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.bz2
cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.lz
cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.xz
cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.zst
cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnEntityChangedWorld.lua2
-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
}