summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
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/Plugin.h
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/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index b4bbfd802..1330bca0d 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -56,7 +56,7 @@ public:
virtual bool OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) = 0;
virtual bool OnEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, double a_DistanceModifier) = 0;
virtual bool OnEntityTeleport (cEntity & a_Entity, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition) = 0;
- virtual bool OnEntityChangeWorld (cEntity & a_Entity, cWorld & a_World) = 0;
+ virtual bool OnEntityChangingWorld (cEntity & a_Entity, cWorld & a_World) = 0;
virtual bool OnEntityChangedWorld (cEntity & a_Entity, cWorld & a_World) = 0;
virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split, const AString & a_EntireCommand, cPluginManager::CommandResult & a_Result) = 0;
virtual bool OnExploded (cWorld & a_World, double a_ExplosionSize, bool a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData) = 0;