The bug
Sometimes when you sleep, you are kicked out of the server for "Flying is not enabled on this server".
How to reproduce
Have a server with flying not enabled
Place a bed
Wait until night (or use
/time set night
)Jump and right click (sleeping jumping)
Wait a short moment
Related issues
is duplicated by
Attachments
Comments


Is this server being hosted locally, or remotely?

Locally. Playing from a local IP (joining with my local IP, not my public IP).

Not sure if helpful or not, but just happened again.

Can confirm for vanilla 1.12.2.

Confirmed for server 18w01a (encountered while jumping around, tried multiple times)

Can confirm for 1.13.1. Just tried and got kicked for a few times.

This also happens with boats, minecart not on rails and what seems like any entity.
You have to enter the "vehicle" at the peak of your jump for it to happen.
Can confirm.

I can also confirm the existence of this bug on 1.12.2 1.13 and 1.13.1 vanilla (& Spigot for some), if you need more confirmations ^^.

Can confirm this bug for 1.14.

Still in 1.14.1 Release

Still in 1.14.2 Pre-Release 1 and 1.14.2 Pre-Release 2

This bug probably relates to MC-148370.

Occurs in 1.15.2 also, can be constantly reproduced by jumping and immediately going to bed while in the air, takes about 10-20 seconds and you will get kicked almost every single time.

Can confirm the bug is still active in 1.15.2! Player on our server has been kicked three times in fifteen minutes, when he wasn't even jumping when getting into the bed.
This bug has been fixed in 20w17a, which is a development version of Minecraft 1.16.

Nice to hear! 🙂
Then we just have to wait for the release of 1.16 👍