mojira.dev
MCPE-25240

"<player> is sleeping in a bed" message is weird

Referring to this message: `%s is sleeping in a bed. To skip to dawn, all players need to sleep in beds at the same time.`

The implementation of this message (with relation to server implementation) is highly counter-intuitive.

It appears that a LevelEvent is sent to clients (ID 9801), and then the client will then decide what players to display in the resulting message. This is totally confusing - why is this not just a TextPacket message sent by the server, like every single other message?

This has several notable bugs, such as the same player always being displayed in the messages when different players start getting into bed, wrong players appearing in the message when players joined just after a player slept, etc.

Linked issues

Comments 8

I've encountered this in 1.2.0.22 on Windows 10 as well. When the other player would get in their bed, I would get a message saying I had gone to bed, and if I got in bed, the other player would get a message saying they had gone to bed.

I've encountered this in 1.2.0.22 on Windows 10 as well. When the other player would get in their bed, I would get a message saying I had gone to bed, and if I got in bed, the other player would get a message saying they had gone to bed.

Is this still an issue in MCPE 1.2.0.25 (build 8)?

Is this still an issue in MCPE 1.2.0.25 (build 8)?

I don't know about the details behind the message types, but at least in 1.2.0.25 on Windows 10 the sleeping in a bed message appears to be correct.

I don't know about the details behind the message types, but at least in 1.2.0.25 on Windows 10 the sleeping in a bed message appears to be correct.

Cleaning up old tickets: This ticket has not been updated recently (~1 year) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

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

Cleaning up old tickets: This ticket has not been updated recently (~1 year) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

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

odigiman

(Unassigned)

80125

Unconfirmed

Android

1.2.0.22

Retrieved