mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +01:00
Fix blocking with shields in both hands
This commit is contained in:
parent
b2c68d234f
commit
32b9182671
1 changed files with 3 additions and 0 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue