Crown prosecutor Moana Jarman-Taylor said Anania's offending was aggravated by the fact he was on bail at the time.
Defence lawyer Aaron Dooney said Anania was dealing cannabis to provide for his family and this was his first conviction for drug offending.
Justice Rebecca Ellis said the maximum sentence for dealing cannabis was eight years jail, but accepted that Anania was not a large scale commercial dealer.
Justice Ellis said Anania had 23 previous convictions, including for violence, dishonesty and breeching court orders.
The pre-sentence report said he has had drug and alcohol issues since he was nine.
She said Anania was getting treatment for those problems, he wanted to turn his life around and had accepted full responsibility for his drug dealing.
Offending while on bail was an aggravating factor and Justice Ellis said he deserved full credit for his guilty plea.
She sentenced Anania to 21 months' jail for the dealing charge, but said to impose that sentence would take his total end sentence to almost five years' jail, which would be manifestly unjust for his crimes.
Justice Ellis said to meet the totality in sentencing principle she would impose a term of 12 months' jail to be served cumulatively to his existing jail term, meaning a total end sentence of three years and 11 months imprisonment.