The bill comes as the state regulators battled a flourishing illegal market that has strained business for some licensees.