In vanilla minecraft villagers have a chance of dying when being killed by a zombie instead of being infected. Only on hard difficulty is villager infection guaranteed.
This lightweight mod guarantees successful villager infection on any difficulty, removing the chance of death!
