A judge told Roisin Hannon such attacks could easily result in the victim losing an eye