(fix) don't render armor stand when invisible
This commit is contained in:
parent
882d89d0e6
commit
c18c49d54a
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue