Fixed villager replacing crash