mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-24 21:37:59 +01:00
Increase time required before a pony will lie down
This commit is contained in:
parent
475e96726e
commit
387c9307d0
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public class ModelAttributes {
|
|||
isLyingDown = isSleeping;
|
||||
if (entity instanceof PlayerEntity) {
|
||||
boolean moving = entity.getVelocity().multiply(1, 0, 1).length() == 0 && entity.isSneaking();
|
||||
isLyingDown |= getMainInterpolator().interpolate("lyingDown", moving ? 10 : 0, 10) >= 9;
|
||||
isLyingDown |= getMainInterpolator().interpolate("lyingDown", moving ? 10 : 0, 200) >= 9;
|
||||
}
|
||||
|
||||
isCrouching = !isLyingDown && !isSitting && mode == Mode.THIRD_PERSON && PonyPosture.isCrouching(pony, entity);
|
||||
|
|
Loading…
Reference in a new issue