summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-21 12:57:25 +0200
committerMattes D <github@xoft.cz>2015-05-21 12:57:25 +0200
commit6bafff056038ca5909343b454318ea3dc15c0793 (patch)
tree6a6b223ffd7e5b2edf9f0f7f45b76f20f11fecaf /src/Bindings/PluginManager.cpp
parentMerge pull request #2085 from mc-server/EquifaxCerts (diff)
parentRenamed hook HOOK_ENTITY_CHANGE_WORLD (diff)
downloadcuberite-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 'src/Bindings/PluginManager.cpp')
-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;
}