Check if there are empty slots before adding items into inventory