Pharaohs don't despawn normally, and if they despawn due to peaceful mode, the chest can respawn one