Drop boots on death

This commit is contained in:
Shoghi Cervantes 2013-11-24 19:23:56 +01:00
parent 8665035381
commit 2b920033ff

View File

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