Fix bow and arrows in offhand.

This commit is contained in:
Matthew Messinger 2016-06-12 14:19:17 -04:00
parent 69f369a957
commit f8bdd14322
2 changed files with 4 additions and 0 deletions

View file

@ -153,6 +153,8 @@ public abstract class AbstractPonyModel extends ModelPlayer {
if (enumaction == EnumAction.BLOCK) { if (enumaction == EnumAction.BLOCK) {
offPose = ArmPose.BLOCK; offPose = ArmPose.BLOCK;
} else if (enumaction == EnumAction.BOW) {
offPose = ArmPose.BOW_AND_ARROW;
} }
} }
} }

View file

@ -74,6 +74,8 @@ public abstract class RenderPonyMob<T extends EntityLiving> extends RenderLiving
if (action == EnumAction.BLOCK) { if (action == EnumAction.BLOCK) {
offPose = ArmPose.BLOCK; offPose = ArmPose.BLOCK;
} else if (action == EnumAction.BOW) {
offPose = ArmPose.BOW_AND_ARROW;
} }
} }
} }