diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2022-01-16 11:03:24 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-04-12 01:06:40 +0200 |
commit | 0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22 (patch) | |
tree | 0941facbffc2f4143a0091255b9e2ad2ff5262cd /src/Entities | |
parent | Removed an implicit cast from int to char. (diff) | |
download | cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.gz cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.bz2 cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.lz cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.xz cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.zst cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.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 000a7715a..8788a8ce5 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -2365,7 +2365,7 @@ void cEntity::BroadcastDeathMessage(TakeDamageInfo & a_TDI) } else { - Name = NamespaceSerializer::Prettify(AString(NamespaceSerializer::From(Monster->GetMobType())), Monster->IsTame()); + Name = NamespaceSerializer::PrettifyEntityName(AString(NamespaceSerializer::From(Monster->GetMobType())), Monster->IsTame()); } } else @@ -2431,7 +2431,7 @@ void cEntity::BroadcastDeathMessage(TakeDamageInfo & a_TDI) } else { - AString KillerName = NamespaceSerializer::Prettify(AString(NamespaceSerializer::From(Monster->GetMobType())), Monster->IsTame()); + AString KillerName = NamespaceSerializer::PrettifyEntityName(AString(NamespaceSerializer::From(Monster->GetMobType())), Monster->IsTame()); DeathMessage = Printf("%s was killed by a %s", Name.c_str(), KillerName.c_str()); } |