Browse Source

Players grounded properly when losing flight.

pull/18/head
MagicBot 2 years ago
parent
commit
ab82529a4b
  1. 6
      src/engine/objects/PlayerCharacter.java

6
src/engine/objects/PlayerCharacter.java

@ -4771,6 +4771,12 @@ public void dismissNecroPets() {
} }
} }
// Ground players who cannot fly but are currently flying
if (CanFly(this) &&
this.getMovementState().equals(MovementState.FLYING))
GroundPlayer(this);
RealmMap.updateRealm(this); RealmMap.updateRealm(this);
updateBlessingMessage(); updateBlessingMessage();

Loading…
Cancel
Save