The bug
If a player sleeps in a bed that has a lantern two blocks above it, the player will sneak while sleeping.
Video
[media]Linked issues
is duplicated by 2
Attachments
Comments 3
This also applies to certain other blocks listed in MC-148860.
Does the player's hitbox change while sleeping?