A drug dealer was attempting to sell drugs outside of a medical marijuana dispensary when a worker of said dispensary asked the dealer to move. Cue altercation.

San Bernardino County sheriff’s deputies arrested the dispensary worker but not a suspected street dealer.

It started about 9:30am on October 24 as customers waited outside the Higher Healing Medical Center marijuana dispensary in Hesperia for the shop to open, authorities said.

A 41-year-old Phelan man drove into the parking lot and began offering the dispensary customers marijuana, according to a sheriff’s department news release.

A worker at the shop, Brandon Johnson, 30, came out with a BB handgun normally used by the dispensary security guard, officials said. Police were called and Johnson was arrested on suspicion of brandishing a firearm because the other man thought it was an actual gun.

The other man was not arrested because sheriff’s deputies did not see him in the act of selling marijuana, Cindy Bachman, a spokeswoman for the San Bernardino County Sheriff's Department, told the LA TImes.

The sheriff’s department and Hesperia city officials had shut down the dispensary earlier in the week, officials said. It was unclear why the worker was inside.