The court heard Omar reacted by rushing to her friend's aid and struck Mr Lloyd in the eye with the designer shoe.
Prosecuting, Jonathan Savage, said: '
He was then struck a single blow to the left eye with an object.His next reaction was feeling that he has been hit in the eye and feeling a long object in front of his left eye, he had to pull it out.'
Mr Lloyd was treated at the Manchester Eye Hospital for injuries to his left eye.
He said he was forced to quit work as a labourer and has become conscious of his scarred eye.
Omar, who pleaded guilty to unlawful wounding, said she had only removed her shoes because they were hurting and was not intending to use them as a weapon.She was only brandishing the heel to stop Mr Lloyd hassling her friend, with no motive to actually strike him in the eye.
Judge Lindsey Kushner QC sentenced Omar to 18 months imprisonment, suspended for two years.Omar must also complete six months of unpaid community work and supervision, as well as pay a £100 victim surcharge fee.