Fixed a crash server side when clicking on villagers