Taking a year off

hi im a 17 year old and i had to take last year off because of tendonitis in my elbow. i spent the summer going to a gym and a physiotherapist. this spring i was cut from AAA tryouts and was told the year off had hurt me, so i played AA level instead. now im in high school ball for the fall season and just pitched a no-hitter. i think im better than ever but could he have been right? was taking a year off a dumb idea and could it have hurt my development?
should i have just played through the pain? was he right?