Snoop Dogg is ready to "make music, not court appearances," his lawyer said Thursday, after the rapper pleaded guilty to felony possession of a deadly weapon in an Orange County, Calif., court.
A somber-looking Snoop (real name: Calvin Broadus), wearing a gray sweater and slacks, was sentenced to three years probation and 160 hours of community service, after the rapper was arrested last September trying to board a plane with a 20-inch collapsible baton in a computer bag.
Snoop initially pleaded not guilty, and his attorney explained the weapon was a movie prop. But "this was an expedient way to end the case," Snoop's attorney, Donald Etra, tells PEOPLE. "Snoop wants to make music, not make court appearances. Community service beats state prison any day."
However, Judge Erick L. Larsh ruled that the rapper cannot serve those hours in any capacity "involving children, gangs or football (due to his existing involvement in his sons' sports league)," the Orange County District Attorney said in a statement.
Snoop, 35, also agreed to make a $10,000 donation to Right Trak, an Orange County anti-gang program.
The rap star narrowly avoided prison
in April by pleading no contest in a Pasadena, Calif., court to gun possession by a felon and sale or transportation of marijuana, and was sentenced to five years probation.