Observed/Actual behavior
The server kicks the player for "Flying is not enabled on this server" when reproducing the bug.
Expected behavior
The server should NOT kick the player, because it wouldn't make sense when doing it.
Steps/models to reproduce
Ensure you have
allow-flight
set to false in server.properties, and you are in survival mode.Ride your horse to the Happy Ghast on it's head.
Wait a few seconds.
The server kicks you for "Flying is not enabled on this server".
I can confirm this behaviour. The server output log says:
The latest.log prints: