It's normal when a players sleeps on bed and later die to respawn where the bed is positioning, but why the same still happening when the bed get destroyed and why don't players return to the world spawn?
Expected result: The players respawn where the spawn point is set if they didn't sleep or destroyed the bed they slept on last time
Actual result: Players respawn at the destroyed bed position
Steps to reproduce the issue
Sleep on a bed at night
destroy the bed after waking up
kill yourself using any method
OS and versions
PocketMine-MP: PocketMine-MP 1.7dev-926 for Minecraft: PE [REDACTED] (protocol version 3.0.0-ALPHA11) commit: aa6666872a44dcd7c7a91e9795dd17a6eb46e881
PHP: 7.2.3
Server OS: Windows 10
Game version: PE/Win10 (delete as appropriate)
Plugins
Test on a clean server without plugins: is the issue reproducible without any plugins loaded?
Yes
If the issue is not reproducible without plugins:
Have you asked for help on our forums before creating an issue?
Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
Paste your list of plugins here (use the 'plugins' command in PocketMine-MP)
Crashdump, backtrace or other files
Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
Please use gist or anything else to add other files and add links here
Issue description
It's normal when a players sleeps on bed and later die to respawn where the bed is positioning, but why the same still happening when the bed get destroyed and why don't players return to the world spawn?
Steps to reproduce the issue
OS and versions
Plugins
Crashdump, backtrace or other files
Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
Please use gist or anything else to add other files and add links here
...