Merge pull request #34 from SteveKunG/patch-2

Minor fixes for 2nd Right Arm rotation
This commit is contained in:
Tschipp 2017-09-19 18:37:56 +02:00 committed by GitHub
commit dde2408139

View File

@ -416,13 +416,20 @@ public class RenderEvents
fakeRightArm.rotateAngleY = -0.15f;
fakeLeftArm.rotateAngleY = 0.15f;
fakeLeftArmwear.rotateAngleY = 0.15f;
fakeRightArmwear.rotateAngleY = 0.15f;
fakeRightArmwear.rotateAngleY = -0.15f;
}
model.bipedBody.addChild(fakeLeftArm);
model.bipedBody.addChild(fakeRightArm);
model.bipedBody.addChild(fakeLeftArmwear);
model.bipedBody.addChild(fakeRightArmwear);
if (Minecraft.getMinecraft().gameSettings.getModelParts().contains(EnumPlayerModelParts.LEFT_SLEEVE))
{
model.bipedBody.addChild(fakeLeftArmwear);
}
if (Minecraft.getMinecraft().gameSettings.getModelParts().contains(EnumPlayerModelParts.RIGHT_SLEEVE))
{
model.bipedBody.addChild(fakeRightArmwear);
}
}
else