Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-25240

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.0.22
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Android
    • ADO:
      80125

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Reporter:
              od1g1man [MCPE Helper] Dylan K. Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: