mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-23 20:53:51 +00:00
Name tag fixxx
Co-Authored-By: Ayush Thoren <ayushthoren@gmail.com>
This commit is contained in:
parent
1036b7368e
commit
814b61e649
5 changed files with 15 additions and 4 deletions
|
|
@ -465,11 +465,11 @@ void LivingEntityRenderer::renderNameTags(shared_ptr<LivingEntity> mob, double x
|
|||
{
|
||||
if (mob->isSleeping())
|
||||
{
|
||||
renderNameTag(mob, msg, x, y - 1.5f, z, 64);
|
||||
renderNameTag(mob, msg, x, y - 1.5f, z, 64, mob->nametagColor);
|
||||
}
|
||||
else
|
||||
{
|
||||
renderNameTag(mob, msg, x, y, z, 64);
|
||||
renderNameTag(mob, msg, x, y, z, 64, mob->nametagColor);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue