mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 20:07:09 +00:00
Fixed items getting added on the same empty slot
This commit is contained in:
parent
6d09754ea7
commit
98340522d9
@ -280,6 +280,7 @@ abstract class BaseInventory implements Inventory{
|
|||||||
if($slot->getCount() <= 0){
|
if($slot->getCount() <= 0){
|
||||||
unset($itemSlots[$index]);
|
unset($itemSlots[$index]);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user