Sec. 31. The adoption of a zoning ordinance under IC 36-7 that provides for flood plain management within the jurisdiction of a county or municipality immediately voids a flood plain commission, ordinance, or regulation adopted under:
(1) this chapter; or
(2) IC 13-2-22.6 (before its repeal).