summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-16 12:38:52 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-16 12:38:52 +0200
commit2189f37c20198a5889d5477aa4abcc116437861d (patch)
treed6d9f458e33098d8df41ac21f8ad6ec656870db1 /src/Bindings/Plugin.h
parentTailored death messages (diff)
downloadcuberite-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 '')
-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 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;