mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixes
This commit is contained in:
parent
9dbdab8060
commit
c9cecaf218
2 changed files with 3 additions and 3 deletions
|
|
@ -1108,13 +1108,13 @@ class Player{
|
|||
if($this->entity->dead === false){
|
||||
break;
|
||||
}
|
||||
$this->blocked = false;
|
||||
$this->entity->fire = 0;
|
||||
$this->entity->air = 300;
|
||||
$this->entity->setHealth(20, "respawn");
|
||||
$this->entity->updateMetadata();
|
||||
$this->sendInventory();
|
||||
$this->teleport($this->spawnPosition);
|
||||
$this->blocked = false;
|
||||
break;
|
||||
case MC_SET_HEALTH:
|
||||
if($this->spawned === false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue