-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
Bed mechanics being reported relate to the respawn block found based on the bed a player has set after sleeping.
First, is if the only valid spawnable blocks available around the bed (10 possible blocks around the bed) are in a Different chunk than the bed and that other chunk is unloaded; the find a respawn point method will return null and therefore fail. (this check is in BlockBed). This causes players to not respawn at their bed, even though there are available blocks for them to spawn at.
Second is extremely minor but could be related. The order that the server picks for the player to respawn, goes in a different priority order check compared to vanilla minecraft.
Note: This issue did not reproduce in Vanilla Single Player or the vanilla Minecraft 1.8.9 Server.
Attached is a screenshot depicting a representation of the first issue. Where obsidian blocks represent the chunk which the bed is in. Non-obsidian is in a different chunk.