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

Commit

Permalink
Fixed items getting added on the same empty slot
Browse files Browse the repository at this point in the history
  • Loading branch information
shoghicp committed Nov 27, 2014
1 parent 6d09754 commit 9834052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pocketmine/inventory/BaseInventory.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ public function addItem(...$slots){
if($slot->getCount() <= 0){
unset($itemSlots[$index]);
}
break;
}
}
}
Expand Down

0 comments on commit 9834052

Please sign in to comment.