Added checking for if there is already a item of that type in another slot