mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-23 20:04:02 +00:00
Send player metadata on respawn
This commit is contained in:
parent
6b312a7826
commit
8c3fcf0798
@ -1843,6 +1843,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
$this->setHealth(20);
|
$this->setHealth(20);
|
||||||
$this->dead = false;
|
$this->dead = false;
|
||||||
$this->sendMetadata($this->getViewers());
|
$this->sendMetadata($this->getViewers());
|
||||||
|
$this->sendMetadata($this);
|
||||||
|
|
||||||
$this->sendSettings();
|
$this->sendSettings();
|
||||||
$this->inventory->sendContents($this);
|
$this->inventory->sendContents($this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user