summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-08 18:07:34 +0100
committerMattes D <github@xoft.cz>2013-12-08 18:07:34 +0100
commit6f23d2ec94b30e355edc63c2de464d40ff3d0ed8 (patch)
tree3127fecd22be0f755e81c384c72a171e52987458 /src/Bindings/Plugin.h
parentRemoved unused ToLua files. (diff)
parentFixed binding generation and VS2013 compile (diff)
downloadcuberite-6f23d2ec94b30e355edc63c2de464d40ff3d0ed8.tar
cuberite-6f23d2ec94b30e355edc63c2de464d40ff3d0ed8.tar.gz
cuberite-6f23d2ec94b30e355edc63c2de464d40ff3d0ed8.tar.bz2
cuberite-6f23d2ec94b30e355edc63c2de464d40ff3d0ed8.tar.lz
cuberite-6f23d2ec94b30e355edc63c2de464d40ff3d0ed8.tar.xz
cuberite-6f23d2ec94b30e355edc63c2de464d40ff3d0ed8.tar.zst
cuberite-6f23d2ec94b30e355edc63c2de464d40ff3d0ed8.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 92259cb55..50a89018d 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -64,7 +64,7 @@ public:
virtual bool OnHopperPushingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_SrcSlotNum, cBlockEntityWithItems & a_DstEntity, int a_DstSlotNum) = 0;
virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer) = 0;
virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) = 0;
- virtual bool OnPlayerAnimation (cPlayer & a_Player, int a_Animation) = 0;
+ virtual bool OnEntityAnimation (cEntity & a_Entity, int a_Animation) = 0;
virtual bool OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
virtual bool OnPlayerEating (cPlayer & a_Player) = 0;