State DNR warns of potential legal action against apartment developer