This commit is contained in:
Shoghi Cervantes 2013-05-21 19:29:57 +02:00
parent 9dbdab8060
commit c9cecaf218
2 changed files with 3 additions and 3 deletions

View file

@ -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){