Fix data not being added when using players.name.inventory.give_item, fixes #310
Merge pull request #313 from koesie10/data

Fix data not being added when using players.name.inventory.give_item