when i use setAllowFlight(true) and after this i use setAllowFlight(false) so player is still flying only can´t fly up or down.