Heather Locklear has been banned from owning a firearm, Ventura County District Attorney Tom Dunlevy confirms to PEOPLE.

While the Melrose Place star will no longer face charges for allegedly hitting her boyfriend in late February, she is still facing four counts of misdemeanor battery on a police officer and one charge of resisting or obstructing a police officer.

Kuredjian said the search was prompted by Locklear’s alleged threats against Ventura County Sheriff’s deputies who arrived at her home in late February after they received a domestic violence call around 9:40 p.m.

Locklear allegedly verbally threatened deputies, saying she would “shoot them if they ever came to her house again,” according to the Thousand Oaks Police Department.

“Heather is in treatment for addiction,” a friend told PEOPLE. “Everyone hopes she gets well, that she gets better.”

“Addiction is obviously a strong disease and as much as friends and family who love her and want her to get better and be happy, no one can do the work for her,” the friend said. “Hopefully she is getting the help she needs.”

“She didn’t go because she was forced,” a longtime associate told PEOPLE at the time. “There was no intervention. She went in on her own. She wanted to feel better and get to the bottom of what was troubling her.”

Another friend said she “seemed out of it,” and some sources said her depression led her to abuse alcohol. Another pal said she had been taking prescription drugs for anxiety and depression.