Can a government entity avoid a taking claim by paying compensation for the property taken?
Yes. Just compensation can prevent a taking claim by adequately compensating the property owner for the loss of their property.