From 32b91826711b58728f871fdaa44bb68e9836e259 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 22 Aug 2018 15:15:48 +0200 Subject: [PATCH] Fix blocking with shields in both hands --- src/main/java/com/minelittlepony/model/AbstractPonyModel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java index 365b4c6d..8a29486a 100644 --- a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java +++ b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java @@ -396,6 +396,9 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel, P case BLOCK: arm.rotateAngleX = (arm.rotateAngleX / 2 - 0.9424779F) - 0.3F; arm.rotateAngleY = reflect * PI / 9; + if (complement == pose) { + arm.rotateAngleY -= reflect * PI / 18; + } arm.rotationPointX += reflect; arm.rotationPointZ += 3; if (isCrouching()) {