mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Send player metadata on respawn
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user