mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed crash when disguised as a mob whilst wearing an amulet. Fixes #401
This commit is contained in:
parent
fe39258cff
commit
1b2f0ebd6b
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@ public class AmuletFeatureRenderer<E extends LivingEntity> implements AccessoryF
|
|||
|
||||
VertexConsumer consumer = ItemRenderer.getArmorGlintConsumer(renderContext, RenderLayer.getArmorCutoutNoCull(texture), false, false);
|
||||
|
||||
if (context.getModel() instanceof BipedEntityModel) {
|
||||
model.setAngles(entity, context.getModel());
|
||||
}
|
||||
model.render(matrices, consumer, lightUv, OverlayTexture.DEFAULT_UV, 1, 1, 1, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue