mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-21 20:18:01 +01:00
Increase time required before a pony will lie down
This commit is contained in:
parent
c365c141ef
commit
f5bfa14bb1
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,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