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

Setting the playerssleepingpercentage gamerule to 0 or on negative numbers skips the sleeping animation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.30.20 Preview, 1.20.30
    • 1.20.20.22 Preview, 1.20.20.21 Preview
    • None
    • Confirmed
    • Multiple
    • 1073493

      The playerssleepingpercentage gamerule has been added to Bedrock on 1.20.20.21 Preview. However, when you set the gamerule to 0 or lower to the negative numbers, the sleeping animation would be skipped when you try to sleep in the bed.

      Steps to Reproduce
      1. Set the gamerule to 0 with this command:
      /gamerule playerssleepingpercentage 0
      2. Set the in-game time to midnight.
      3. Get a bed and sleep.

      Expected Result
      You should sleep normally with the sleeping animation.

      Observed Result
      The sleeping animation is instantly skipped.

            MCPE4theBeacon [Helper] lillybeacon
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: