mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-23 04:57:58 +01:00
Fixed ponies' wings flapping in their sleep
This commit is contained in:
parent
ddbe4c3969
commit
85462d5a69
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ public class Pony implements IPony {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isFlying(EntityLivingBase entity) {
|
public boolean isFlying(EntityLivingBase entity) {
|
||||||
return !(entity.onGround || entity.isRiding() || entity.isOnLadder() || entity.isInWater());
|
return !(entity.onGround || entity.isRiding() || entity.isOnLadder() || entity.isInWater() || entity.isPlayerSleeping());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue