summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp
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 /src/Bindings/PluginManager.cpp
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 '')
-rw-r--r--src/Bindings/PluginManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index 6fb6ef4fa..4dc3e20d3 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -525,14 +525,14 @@ bool cPluginManager::CallHookEntityTeleport(cEntity & a_Entity, const Vector3d &
-bool cPluginManager::CallHookEntityChangeWorld(cEntity & a_Entity, cWorld & a_World)
+bool cPluginManager::CallHookEntityChangingWorld(cEntity & a_Entity, cWorld & a_World)
{
- FIND_HOOK(HOOK_ENTITY_CHANGE_WORLD);
+ FIND_HOOK(HOOK_ENTITY_CHANGING_WORLD);
VERIFY_HOOK;
for (PluginList::iterator itr = Plugins->second.begin(); itr != Plugins->second.end(); ++itr)
{
- if ((*itr)->OnEntityChangeWorld(a_Entity, a_World))
+ if ((*itr)->OnEntityChangingWorld(a_Entity, a_World))
{
return true;
}