From ccac35d5a280e19ad53dbd722407cb1e05efea05 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 5 Sep 2013 00:39:06 +0200 Subject: [PATCH] Fixed player catching fire after death --- src/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.php b/src/Player.php index 412bb5f3..c0421e9d 100644 --- a/src/Player.php +++ b/src/Player.php @@ -1618,6 +1618,7 @@ class Player{ } $this->craftingItems = array(); $this->toCraft = array(); + $this->teleport($this->spawnPosition); if($this->entity instanceof Entity){ $this->entity->fire = 0; $this->entity->air = 300; @@ -1627,7 +1628,6 @@ class Player{ break; } $this->sendInventory(); - $this->teleport($this->spawnPosition); $this->blocked = false; $this->server->handle("player.respawn", $this); break;