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/Entities | |
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/Entities')
-rw-r--r-- | src/Entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 56ef22280..88900013d 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -528,7 +528,7 @@ void cEntity::KilledBy(TakeDamageInfo & a_TDI) { m_Health = 0; - cRoot::Get()->GetPluginManager()->CallHookKilling(*this, a_TDI); + cRoot::Get()->GetPluginManager()->CallHookKilling(*this, a_TDI.Attacker, a_TDI); if (m_Health > 0) { |