summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.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/PluginLua.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 '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 d1514a731..7a8a69b68 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -86,7 +86,7 @@ public:
virtual bool OnHandshake (cClientHandle * a_Client, const AString & a_Username) override;
virtual bool OnHopperPullingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_DstSlotNum, cBlockEntityWithItems & a_SrcEntity, int a_SrcSlotNum) override;
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, TakeDamageInfo & a_TDI) override;
+ virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer, TakeDamageInfo & a_TDI) override;
virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) 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;