mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 07:27:59 +01:00
Fix bow and arrows in offhand.
This commit is contained in:
parent
69f369a957
commit
f8bdd14322
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue