summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.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/PluginLua.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/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 533dc0331..29f0319ab 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -115,7 +115,7 @@ public:
virtual bool OnCraftingNoRecipe (cPlayer & a_Player, cCraftingGrid & a_Grid, cCraftingRecipe & a_Recipe) override;
virtual bool OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) override;
virtual bool OnEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, double a_DistanceModifier) override;
- virtual bool OnEntityChangeWorld (cEntity & a_Entity, cWorld & a_World) override;
+ virtual bool OnEntityChangingWorld (cEntity & a_Entity, cWorld & a_World) override;
virtual bool OnEntityChangedWorld (cEntity & a_Entity, cWorld & a_World) override;
virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split, const AString & a_EntireCommand, cPluginManager::CommandResult & a_Result) override;
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) override;