mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-17 10:24:23 +01:00
Don't show the flying experience bar in creative mode
This commit is contained in:
parent
c6ae5977f5
commit
a4bcfedabc
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class PlayerGravityDelegate implements IUpdatable<EntityPlayer>, IGravity, InbtS
|
|||
entity.capabilities.isFlying |= entity.capabilities.allowFlying && isFlying && !entity.onGround;
|
||||
}
|
||||
|
||||
isFlying = entity.capabilities.isFlying;
|
||||
isFlying = entity.capabilities.isFlying && !entity.capabilities.isCreativeMode;
|
||||
|
||||
if (!entity.capabilities.isCreativeMode && !entity.isElytraFlying()) {
|
||||
if (isFlying && !entity.isRiding()) {
|
||||
|
|
Loading…
Reference in a new issue