Players grounded properly when losing flight.

This commit is contained in:
2022-08-27 16:31:07 -04:00
parent 9988863a85
commit ab82529a4b
+6
View File
@@ -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();