TODO make it so it doesn't crash when you place the wrong item