Section 20 of this Act notwithstanding, this Act does not preclude the adoption of a regulation or local ordinance of general nature that does not specifically regulate vegetable gardens, including, but not limited to, regulations and ordinances relating to height, setback, water use, fertilizer use, or control of invasive or unlawful species, provided that any such regulation or ordinance does not have the effect of precluding vegetable gardens.
505 ILCS 87/25