Affects Version/s: Minecraft 1.7.9
Fix Version/s: None
When I placed a bed under a low ceiling that had a 1 block gap between the ceiling and the bed, I expected to at least be able to sleep on it. Either that or a message of some sort appear, such as 'this bed is obstructed'.
What DID happen was that when I clicked on it, I appeared to lie on the bed, slide to the right off it, and the flip left facing the bed on the floor. This didn't happen before on previous versions, I'm pretty sure. When I 'woke up' I was still on the floor.
This bug can be reproduced by:
1. Place a bed anywhere.
2. Put a structure 1 block above (or right on it, either works)
3. Type /time set night and attempt to sleep on it.