[EasyNPC] Adapted changes applied to the easyNPC core