summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-05-21 12:27:54 +0200
committerLukas Pioch <lukas@zgow.de>2015-05-21 12:27:54 +0200
commitbc838e5bd28172cf6dd1c1a4568270cb4250cac4 (patch)
treecb7d0aa34f6f3bff4ce24642c4e23a0328eb6c65 /MCServer
parentMerge pull request #2074 from SafwatHalaby/rmUnique (diff)
downloadcuberite-bc838e5bd28172cf6dd1c1a4568270cb4250cac4.tar
cuberite-bc838e5bd28172cf6dd1c1a4568270cb4250cac4.tar.gz
cuberite-bc838e5bd28172cf6dd1c1a4568270cb4250cac4.tar.bz2
cuberite-bc838e5bd28172cf6dd1c1a4568270cb4250cac4.tar.lz
cuberite-bc838e5bd28172cf6dd1c1a4568270cb4250cac4.tar.xz
cuberite-bc838e5bd28172cf6dd1c1a4568270cb4250cac4.tar.zst
cuberite-bc838e5bd28172cf6dd1c1a4568270cb4250cac4.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
}