"Vices are illegal on construction sites."

Please explain that statement,if you would be so kind.