change flying npc players not permananetly flying
This commit is contained in:
parent
89d2c8f6e4
commit
a7fe2db49f
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,10 @@ public abstract class EntityFlyingNPC extends EntityNPC
|
|||
}
|
||||
|
||||
public boolean isFlying() {
|
||||
return !this.isPlayer() || super.isFlying();
|
||||
}
|
||||
|
||||
public boolean canNaturallyFly() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue