summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-18 17:11:15 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-18 17:11:15 +0100
commitdb5d7963e2dbb3a766850f5ffabd14980beb46b6 (patch)
tree48d4d4eec9a819d9b83a40969e96cbf8f86ea206 /src/Bindings/PluginLua.h
parentRemoved offending tr1/memory header inclusion. (diff)
downloadcuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar
cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.gz
cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.bz2
cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.lz
cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.xz
cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.zst
cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.zip
Diffstat (limited to '')
-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 188d202e0..e1e274c72 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -61,7 +61,7 @@ public:
virtual bool OnHopperPushingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_SrcSlotNum, cBlockEntityWithItems & a_DstEntity, int a_DstSlotNum) override;
virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer) override;
virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) override;
- virtual bool OnEntityAnimation (cEntity & a_Entity, int a_Animation) override;
+ virtual bool OnPlayerAnimation (cPlayer & a_Player, int a_Animation) override;
virtual bool OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual bool OnPlayerEating (cPlayer & a_Player) override;