fixes infinite pickup bug in inventory
Merge pull request #954 from NimbusBP1729/infinite_torches

fixes infinite pickup bug in inventory