mojira.dev
MCPE-172910

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

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.

Linked issues

Attachments

Comments 0

No comments.

lillybeacon

(Unassigned)

1073493

Confirmed

Multiple

1.20.20.22 Preview, 1.20.20.21 Preview

1.20.30.20 Preview, 1.20.30

Retrieved