AMPUTEE Ronald John Johnson has been warned that the courts will not continue to show leniency for his medical issues should he keep going with his drug offending.
Police found a marijuana crop in state forest adjoining the 44-year-old's Glenview property on March 23 last year.
They followed what appeared to be quad bike tracks, finding separate amounts of marijuana hidden along the way.
Maroochydore District Court heard on Monday that 32 plants weighing a total of 23.95kg were found.
They also found two trays containing 52 seedlings at Johnson's property.
The court heard Johnson was on a suspended sentence for previous drug and weapons offences when he was charged.
He spent 85 days in prison between March and June this year, before he was released on bail after suffering a shoulder injury.
Defence barrister Simone Bain said her client's leg was amputated below the knee after a motorcycle incident in 2004 but had since been amputated above the knee.
"During the course of his pre-sentence custody he had a number of falls that resulted in the serious shoulder injury,” Ms Bain said.
Judge Gary Long said Johnson needed to understand the time when a court was sympathetic to his injuries would run out.
He sentenced Johnson to two years in jail and released him immediately after taking into account the 85 days already served.
Update your news preferences and get the latest news delivered to your inbox.