Fixed head rendering

This commit is contained in:
Sollace 2023-02-15 19:25:52 +00:00
parent a9f070226f
commit 905990623c

View file

@ -77,8 +77,12 @@ public class PlayerPonySkull implements ISkull {
@Override
public void render(MatrixStack stack, VertexConsumer vertices, int lightUv, int overlayUv, float red, float green, float blue, float alpha) {
ponyHead.headRenderList.accept(stack, vertices, overlayUv, lightUv, red, green, blue, alpha);
stack.push();
ponyHead.headRenderList.accept(stack, vertices, lightUv, overlayUv, red, green, blue, alpha);
stack.pop();
stack.push();
ponyHead.helmetRenderList.accept(stack, vertices, lightUv, overlayUv, red, green, blue, alpha);
stack.pop();
deadMau5.get().render(stack, vertices, lightUv, overlayUv, red, green, blue, alpha);
}
}