Original issue: https://github.com/PaperMC/Paper/issues/4227
Steps to reproduce:
- go into survival
- fill your inventory with something, so all the spaces are filled (for example coal)
- then drop a couple of stacks of another item on the ground (for example coal ore)
- make 1 space in your inventory (hotbar) so you can pick up items, you will pick up 1 whole stack
- then drop/place 1 item of the stack
- you will pick up a whole stack but only 1 item get added to your inventory because there is no more space then that and the other 63 items are lost
Video: https://streamable.com/r4rxce
Fix: [Removed by staff - for legal reasons please do not submit patches via Jira, use Stash instead]