Put non-persistent container items in players inventory upon closing it
knokko opened this issue ยท 1 comments
When a player closes a non-persistent custom container that still has items in its inventory, those items will be dropped on the ground. It would be better to put the items in the inventory of the player instead, since this is more consistent with the behavior of crafting tables.