NSW’s 50-year-old heritage act will be replaced by legislation with “real penalties” on owners who allow demolition by neglect.