A public entity is not liable for any injury caused by adopting or failing to adopt a law or by failing to enforce any law.

L.1972, c. 45, s. 59:2-4