diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-16 12:38:52 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-16 12:38:52 +0200 |
commit | 2189f37c20198a5889d5477aa4abcc116437861d (patch) | |
tree | d6d9f458e33098d8df41ac21f8ad6ec656870db1 /src/Bindings/Plugin.h | |
parent | Tailored death messages (diff) | |
download | cuberite-2189f37c20198a5889d5477aa4abcc116437861d.tar cuberite-2189f37c20198a5889d5477aa4abcc116437861d.tar.gz cuberite-2189f37c20198a5889d5477aa4abcc116437861d.tar.bz2 cuberite-2189f37c20198a5889d5477aa4abcc116437861d.tar.lz cuberite-2189f37c20198a5889d5477aa4abcc116437861d.tar.xz cuberite-2189f37c20198a5889d5477aa4abcc116437861d.tar.zst cuberite-2189f37c20198a5889d5477aa4abcc116437861d.zip |
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r-- | src/Bindings/Plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h index 160e83bde..5c933e095 100644 --- a/src/Bindings/Plugin.h +++ b/src/Bindings/Plugin.h @@ -63,7 +63,7 @@ public: virtual bool OnHandshake (cClientHandle * a_Client, const AString & a_Username) = 0; virtual bool OnHopperPullingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_DstSlotNum, cBlockEntityWithItems & a_SrcEntity, int a_SrcSlotNum) = 0; 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, TakeDamageInfo & a_TDI) = 0; + virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer, TakeDamageInfo & a_TDI) = 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 OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0; |