A DRUG trafficker who was threatened at gunpoint during an armed robbery in February appeared in the Bendigo Magistrates' Court on Monday.
Owen Napier, 25 of Bendigo, pleaded guilty to trafficking cannabis.
The court heard at the time of the incident Napier had smoke two grams of cannabis a day and sold the drug to a small circle of friends to fund his habit.
Prosecuting, Sergeant Dave Somerton said Napier was the victim of an armed robbery on February 14 when two offenders entered his home and stole cannabis and cash at gunpoint.
Napier was arrested in relation to the drug trafficking on March 13 and was described by police as "cooperative and of good demeanour".
Napier's defense counsel told the court the incident had prompted Napier to turn his life around.
"It was the most frightening thing that has happened to him and it's reinforced to him that being mixed up in any sort of drug activity is not what he wants to do," he said.
Napier's defense counsel asked Magistrate Bruce Cottrill to take into account his client's age and lack of history.
In sentencing, Magistrate Cottrill said anyone charged with trafficking a drug of dependence should expect a term of imprisonment.
"There is so much pain inflicted on innocent members of the community because of drug traffickers," he said.
"They feed on the vulnerable."
However, Magistrate Cottrill did take into account Napier's cooperation with police.
Napier was sentenced, with conviction, to a 12-month community corrections order.
He was ordered to complete 250 hours of unpaid community work.