Affects Version/s: 1.9.0
Fix Version/s: None
Platform:Windows 10 - PC
When setting your spawn under ground by sleeping in a bed, you will spawn back on the surface after dying.
This happens even if your bed has air to all sides of it, and even in a 3+ tall room.
How to reproduce:
1. Hollow out a little room under ground, make sure there is room to all sides and above the bed as well.
2. Sleep in the bed, and allow it to kick you out after you have slept.
3. Die, and you will respawn on the surface.
From what i can tell, this bug is also related to: https://bugs.mojang.com/browse/MCPE-42881
Footage of this bug happening and how to reproduce. Skip to 7:24