I rewrote ownlymes function to be more generic and covered - hopefully all - events that could be called when a item is inserted into the player inventory.
The only way to get a stacked item into the inventory is to directly grab it out of a beltbox.
There should be no item loss possible (it was with the old function)
Fix for: https://mods.factorio.com/mod/deadlock-beltboxes-loaders/discussion/5d487dbe83356e000d137107
I rewrote ownlymes function to be more generic and covered - hopefully all - events that could be called when a item is inserted into the player inventory.