mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Force inventory sending on death
This commit is contained in:
parent
393f54fe28
commit
e0a59486eb
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue