West Virginia just did the same [passed March 6, 2024; effective ninety days from passage]:
"squatting constitutes criminal trespass; petition and eviction not appropriate remedies for squatters; remedy is arrest for trespass"
https://www.wvlegislature.gov/Bill_Status/bills_text.cfm?billdoc=hb4940%20sub%20enr.htm&yr=2024&sesstype=RS&billtype=B&i=4940