summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorTheHyper45 <86074167+TheHyper45@users.noreply.github.com>2021-06-19 23:25:24 +0200
committerGitHub <noreply@github.com>2021-06-19 23:25:24 +0200
commit3b35a00397d7919b0613be8f6f756beabad53edc (patch)
treeea928e8fe19f75cf1af2df6680acebe6a749aa9a /src/Entities/Entity.h
parentMove More CI into Jenkins - Travis Migration Progress (#5241) (diff)
downloadcuberite-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 'src/Entities/Entity.h')
-rw-r--r--src/Entities/Entity.h2
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: