Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Drop boots on death
Browse files Browse the repository at this point in the history
  • Loading branch information
shoghicp committed Nov 24, 2013
1 parent 8665035 commit 2b92003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/world/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function getDrops(){
$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){
Expand Down

0 comments on commit 2b92003

Please sign in to comment.