diff options
author | TheHyper45 <86074167+TheHyper45@users.noreply.github.com> | 2021-06-19 23:25:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-19 23:25:24 +0200 |
commit | 3b35a00397d7919b0613be8f6f756beabad53edc (patch) | |
tree | ea928e8fe19f75cf1af2df6680acebe6a749aa9a /src/Entities/Entity.h | |
parent | Move More CI into Jenkins - Travis Migration Progress (#5241) (diff) | |
download | cuberite-3b35a00397d7919b0613be8f6f756beabad53edc.tar cuberite-3b35a00397d7919b0613be8f6f756beabad53edc.tar.gz cuberite-3b35a00397d7919b0613be8f6f756beabad53edc.tar.bz2 cuberite-3b35a00397d7919b0613be8f6f756beabad53edc.tar.lz cuberite-3b35a00397d7919b0613be8f6f756beabad53edc.tar.xz cuberite-3b35a00397d7919b0613be8f6f756beabad53edc.tar.zst cuberite-3b35a00397d7919b0613be8f6f756beabad53edc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index af80d0687..1384870b8 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -550,6 +550,8 @@ public: /** Returs whether the entity has any mob leashed to it. */ bool HasAnyMobLeashed() const { return m_LeashedMobs.size() > 0; } + /** Announces a death message on chat about killing the entity. */ + void BroadcastDeathMessage(TakeDamageInfo & a_TDI); protected: |