diff options
author | TheHyper45 <dawid.priv@o2.pl> | 2021-06-20 13:12:12 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-04-12 01:06:40 +0200 |
commit | 5500314fbea50f6200a7e3d045541224e3d9bb78 (patch) | |
tree | b5ae4912c9a054c6a1f862b52b1bf32ccff55f5e /src/Entities | |
parent | The proper style fix (diff) | |
download | cuberite-5500314fbea50f6200a7e3d045541224e3d9bb78.tar cuberite-5500314fbea50f6200a7e3d045541224e3d9bb78.tar.gz cuberite-5500314fbea50f6200a7e3d045541224e3d9bb78.tar.bz2 cuberite-5500314fbea50f6200a7e3d045541224e3d9bb78.tar.lz cuberite-5500314fbea50f6200a7e3d045541224e3d9bb78.tar.xz cuberite-5500314fbea50f6200a7e3d045541224e3d9bb78.tar.zst cuberite-5500314fbea50f6200a7e3d045541224e3d9bb78.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Entity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 175851a21..000a7715a 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -2365,7 +2365,7 @@ void cEntity::BroadcastDeathMessage(TakeDamageInfo & a_TDI) } else { - Name = AString(NamespaceSerializer::Prettify(Monster->GetMobType(), Monster->IsTame())); + Name = NamespaceSerializer::Prettify(AString(NamespaceSerializer::From(Monster->GetMobType())), Monster->IsTame()); } } else @@ -2431,7 +2431,7 @@ void cEntity::BroadcastDeathMessage(TakeDamageInfo & a_TDI) } else { - AString KillerName = AString(NamespaceSerializer::Prettify(Monster->GetMobType(), Monster->IsTame())); + AString KillerName = NamespaceSerializer::Prettify(AString(NamespaceSerializer::From(Monster->GetMobType())), Monster->IsTame()); DeathMessage = Printf("%s was killed by a %s", Name.c_str(), KillerName.c_str()); } |