Fix blocking with shields in both hands

This commit is contained in:
Sollace 2018-08-22 15:15:48 +02:00
parent b2c68d234f
commit 32b9182671

View file

@ -396,6 +396,9 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel, P
case BLOCK: case BLOCK:
arm.rotateAngleX = (arm.rotateAngleX / 2 - 0.9424779F) - 0.3F; arm.rotateAngleX = (arm.rotateAngleX / 2 - 0.9424779F) - 0.3F;
arm.rotateAngleY = reflect * PI / 9; arm.rotateAngleY = reflect * PI / 9;
if (complement == pose) {
arm.rotateAngleY -= reflect * PI / 18;
}
arm.rotationPointX += reflect; arm.rotationPointX += reflect;
arm.rotationPointZ += 3; arm.rotationPointZ += 3;
if (isCrouching()) { if (isCrouching()) {