error checks to viewEquipment for empty inventory