On my server if Using Pe if they pick up 3 or more CE books. They can not unstack them or move them in their inventory. They get locked to that slot.
You could pop the item using `pop()`. Check out the Item Documentation: https://jenkins.pmmp.io/job/PocketM...1_item.html#a9dd9484fe3ab1afcbd2627860e01973a PHP: $PoopedItem = $item->pop(1);$PoopedItem->getName(); // do anything with the pooped item, you could add it to the players inv and etc