From cb47bf82c994c6866a08e69c4f620b9165348aa0 Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Sat, 9 Nov 2013 20:44:09 +1030 Subject: [PATCH] Reset player's armors after death UNTESTED. Fixes #896. --- src/world/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Entity.php b/src/world/Entity.php index 25840944ad..33cd7a4cd6 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -169,7 +169,7 @@ class Entity extends Position{ } for($re = 0; $re < 3; $re++) { - //TODO: Test this. + //TODO: Test this $slot = $this->player->getArmor($re); $this->player->setArmor($re, BlockAPI::getItem(AIR, 0, 0)); if($slot->getID() !== AIR and $slot->count > 0){