(fix) don't render armor stand when invisible

This commit is contained in:
kirillsaint 2024-01-16 18:39:26 +06:00
parent 882d89d0e6
commit c18c49d54a
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class RendererLivingEntityMixin<T extends EntityLivingBase> {
return;
}
}
if(entity instanceof EntityArmorStand && Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Hide Armor Stands").getValBoolean()) {
if(entity instanceof EntityArmorStand && (Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Hide Armor Stands").getValBoolean() || entity.isInvisible())) {
((RendererLivingEntity<EntityArmorStand>) (Object) this).renderName((EntityArmorStand) entity, x, y, z);
ci.cancel();
}