pmmp / PocketMine-MP

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

Throwing ender pearl while sleeping causes the client stopping interacting #4672

Closed matcracker closed 2 years ago

matcracker commented 2 years ago

Issue description

Follow up

Requires some testing with teleport function while sleeping, I don't know what's happen.

Steps to reproduce the issue

  1. Place a bed and set night
  2. Throw an ender pearl
  3. Before the ender pear hits the ground, try to sleep
  4. Enjoy!

OS and versions

Plugins

Tried on PMMP Test Server

Crashdump, backtrace or other files

ghost commented 2 years ago

Vanilla:

https://user-images.githubusercontent.com/60012371/147383276-cc5b006b-39e8-4f6a-b75c-84e3a8f25af7.mp4

PMMP:

https://user-images.githubusercontent.com/60012371/147383281-5c5d39db-b75d-4b2a-9b24-6835b1d5e016.mp4