mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Force inventory sending on death
This commit is contained in:
parent
393f54fe28
commit
e0a59486eb
@ -978,6 +978,7 @@ class Player{
|
||||
$this->entity->air = 300;
|
||||
$this->entity->setHealth(20, "respawn");
|
||||
$this->entity->updateMetadata();
|
||||
$this->sendInventory();
|
||||
$this->teleport(new Vector3($this->server->spawn["x"], $this->server->spawn["y"], $this->server->spawn["z"]));
|
||||
break;
|
||||
case MC_SET_HEALTH:
|
||||
|
Loading…
x
Reference in New Issue
Block a user