mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-05 17:44:39 +00:00
TU24: Name of mobs, which are renamed using a name tag is now always visible, even when not looking at it up close.
This commit is contained in:
@@ -33,7 +33,7 @@ void MobRenderer::render(shared_ptr<Entity> _mob, double x, double y, double z,
|
||||
|
||||
bool MobRenderer::shouldShowName(shared_ptr<LivingEntity> mob)
|
||||
{
|
||||
return LivingEntityRenderer::shouldShowName(mob) && (mob->shouldShowName() || dynamic_pointer_cast<Mob>(mob)->hasCustomName() && mob == entityRenderDispatcher->crosshairPickMob);
|
||||
return LivingEntityRenderer::shouldShowName(mob) && (mob->shouldShowName() || dynamic_pointer_cast<Mob>(mob)->hasCustomName()); //TU24: Removed && mob == entityRenderDispatcher->crosshairPickMob
|
||||
}
|
||||
|
||||
void MobRenderer::renderLeash(shared_ptr<Mob> entity, double x, double y, double z, float rot, float a)
|
||||
|
||||
Reference in New Issue
Block a user