From 2b920033fff904945767c974fa9378090c9c28be Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 24 Nov 2013 19:23:56 +0100 Subject: [PATCH] Drop boots on death --- 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 d94b19ed..bd6d91ad 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -167,7 +167,7 @@ class Entity extends Position{ $inv[] = array($slot->getID(), $slot->getMetadata(), $slot->count); } } - for($re = 0; $re < 3; $re++){ + for($re = 0; $re < 4; $re++){ $slot = $this->player->getArmor($re); $this->player->setArmor($re, BlockAPI::getItem(AIR, 0, 0)); if($slot->getID() !== AIR and $slot->count > 0){