mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:11:31 +01:00
(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
Block a user