Skip the cost item if it's null.
Only attempt to give the player the item if it's not null.