summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp
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/PluginManager.cpp
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/PluginManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index 1ebe8dd68..11d8bf4f1 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -562,14 +562,14 @@ bool cPluginManager::CallHookHopperPushingItem(cWorld & a_World, cHopperEntity &
-bool cPluginManager::CallHookKilling(cEntity & a_Victim, TakeDamageInfo & a_TDI)
+bool cPluginManager::CallHookKilling(cEntity & a_Victim, cEntity * a_Killer, TakeDamageInfo & a_TDI)
{
FIND_HOOK(HOOK_KILLING);
VERIFY_HOOK;
for (PluginList::iterator itr = Plugins->second.begin(); itr != Plugins->second.end(); ++itr)
{
- if ((*itr)->OnKilling(a_Victim, a_TDI))
+ if ((*itr)->OnKilling(a_Victim, a_Killer, a_TDI))
{
return true;
}