A drug deal gone wrong led to an assault at UMass under incredibly stupid circumstances.

Mass Live reports.

UMass Amherst assault occurred after defendants tried to pass off shredded vegetables as marijuana, prosecutor says

The violent altercation that resulted in a shelter-in-place order at the University of Massachusetts Amherst Feb. 18 occurred after two Framingham men tried to sell a student “shredded vegetables” when he thought he was buying marijuana, according to the Northwestern district attorney’s office.

“An altercation ensued when their ruse failed,” Mary Carey, a spokeswoman for the district attorney, said in a statement Tuesday.

The details about the allegedly phony pot came out at the bail hearing Tuesday of the second defendant in the case, Shawn Wyatt, 22.

Wyatt, 22, of Framingham, has pleaded not guilty to charges of armed robbery, assault and battery with a dangerous weapon, and assault and battery.

In Eastern Hampshire District Court Tuesday, a judge set bail for Wyatt at $15,000.

Carey said that if Wyatt is able to make bail, he will be required to stay away from the UMass Amherst campus, the student he is accused of assaulting, and his co-defendant, William McKeown, 19, also of Framingham.

Wyatt is also required to remain drug and alcohol free, submit to random substance screenings and report to his probation officer weekly. He is not permitted to leave the state.