mojira.dev
MC-120956

Player sleeping in bed has no gravity server side

When you teleport a player upwards when they are sleeping in a bed, the sleeping player floats in the air but on the client view of the sleeping player, they fall downwards but keep being teleported to the server's position.

Steps to reproduce:
1. Start a LAN Server.
2. Get a player to join and sleep in a bed
3. Teleport the sleeping player upwards by doing "/tp <PlayerName> ~ ~5 ~"

The bug can be fixed by making the sleeping player have gravity server-side.

Linked issues

Comments 3

Thank you for your report!
However, this issue is a Duplicate of MC-3715.

It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

It is not a duplicate but it is related to it.

You shouldn't be able to be teleported at all while sleeping, hence it's a duplicate.

Greg Milson

(Unassigned)

Unconfirmed

Minecraft 1.12.2

Retrieved