I found a fix for this with the connected villager job site data pack
https://www.curseforge.com/minecraft/customization/connected-villager-job-site
if you use /trigger vjf_single it links the closest villager to their nearest workstation
I found a fix for this with the connected villager job site data pack
https://www.curseforge.com/minecraft/customization/connected-villager-job-site
if you use /trigger vjf_single it links the closest villager to their nearest workstation