mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 07:27:59 +01:00
Fixed sleeves not aligning correctly with the arms when sitting
This commit is contained in:
parent
82fef2e8fa
commit
1ae5a7916a
1 changed files with 4 additions and 0 deletions
|
@ -629,6 +629,10 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void renderSleeves(MatrixStack stack, VertexConsumer vertices, int overlayUv, int lightUv, float red, float green, float blue, float alpha) {
|
protected void renderSleeves(MatrixStack stack, VertexConsumer vertices, int overlayUv, int lightUv, float red, float green, float blue, float alpha) {
|
||||||
|
if (!sneaking) {
|
||||||
|
body.rotate(stack);
|
||||||
|
}
|
||||||
|
|
||||||
leftSleeve.render(stack, vertices, overlayUv, lightUv, red, green, blue, alpha);
|
leftSleeve.render(stack, vertices, overlayUv, lightUv, red, green, blue, alpha);
|
||||||
rightSleeve.render(stack, vertices, overlayUv, lightUv, red, green, blue, alpha);
|
rightSleeve.render(stack, vertices, overlayUv, lightUv, red, green, blue, alpha);
|
||||||
leftPants.render(stack, vertices, overlayUv, lightUv, red, green, blue, alpha);
|
leftPants.render(stack, vertices, overlayUv, lightUv, red, green, blue, alpha);
|
||||||
|
|
Loading…
Reference in a new issue