diff options
author | TheHyper45 <dawid.priv@o2.pl> | 2021-06-20 11:45:40 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-04-12 01:06:40 +0200 |
commit | 0f575a5db39cc25497fd40baa6bd703f8d8b7e96 (patch) | |
tree | 4422522f57d7f3482d319064b0e1d808e695ac59 /src/Entities | |
parent | Small refinements in BroadcastDeathMessage method. (diff) | |
download | cuberite-0f575a5db39cc25497fd40baa6bd703f8d8b7e96.tar cuberite-0f575a5db39cc25497fd40baa6bd703f8d8b7e96.tar.gz cuberite-0f575a5db39cc25497fd40baa6bd703f8d8b7e96.tar.bz2 cuberite-0f575a5db39cc25497fd40baa6bd703f8d8b7e96.tar.lz cuberite-0f575a5db39cc25497fd40baa6bd703f8d8b7e96.tar.xz cuberite-0f575a5db39cc25497fd40baa6bd703f8d8b7e96.tar.zst cuberite-0f575a5db39cc25497fd40baa6bd703f8d8b7e96.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Entity.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 858f9e0de..5b0480ba9 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -2419,8 +2419,7 @@ void cEntity::BroadcastDeathMessage(TakeDamageInfo & a_TDI) { GetWorld()->BroadcastChatDeath(DeathMessage); } - } - // This will trigger if a player/tamed pet has been killed by another mob/tamed pet. + } // This will trigger if a player/tamed pet has been killed by another mob/tamed pet. else if (a_TDI.Attacker->IsMob()) { cMonster * Monster = static_cast<cMonster *>(a_TDI.Attacker); |