Added slot checking for equipment.