" ... he shot in a reckless manner rather than aiming it at someone".
As a result of the incident, he had lost the friendship of Mr Rouse-Henry.
"He expresses his extreme regret that his friendship has gone but knows it's his own doing," Mr Cadogan said.
The facts summary said Mr Rouse-Henry needed surgery to remove the pellet from his left knee and had two weeks off work.
McLellan wanted to pay $500 emotional harm reparation to the victim "to put this right with his friend, as much as he can", Mr Cadogan said.
Prosecutor, Sergeant Ian Collin said the injured man had incurred expenses of $1250 as a result of the injury.
Judge McElrea also sentenced McLellan to 150 hours of community work, eight months supervision and ordered him to pay $1250 reparation to the victim. He ordered the destruction of the gun.