mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 14:27:59 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue