mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 09:01:32 +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;
|
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);
|
((RendererLivingEntity<EntityArmorStand>) (Object) this).renderName((EntityArmorStand) entity, x, y, z);
|
||||||
ci.cancel();
|
ci.cancel();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user