Fixed items getting added on the same empty slot

This commit is contained in:
Shoghi Cervantes 2014-11-27 20:49:18 +01:00
parent 6d09754ea7
commit 98340522d9

View File

@ -280,6 +280,7 @@ abstract class BaseInventory implements Inventory{
if($slot->getCount() <= 0){ if($slot->getCount() <= 0){
unset($itemSlots[$index]); unset($itemSlots[$index]);
} }
break;
} }
} }
} }