pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.28k stars 1.56k forks source link

Respawning isn't changing when beds get destroyed #2148

Open ahmedhozny opened 6 years ago

ahmedhozny commented 6 years ago

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

  1. Sleep on a bed at night
  2. destroy the bed after waking up
  3. kill yourself using any method

OS and versions

Plugins

Crashdump, backtrace or other files

dktapps commented 6 years ago

Checks for this haven't been implemented yet. I assume it's to do with the fact that plugins can make players sleep on anything.