When using /locate near a structure spawned with /place structure, e.g a plains village, it will locate a village that is further away, even if your standing in the middle of the village.
Environment
Java vanilla 1.19.2 in an Aternos server. I will voluntarily reproduce in a normal world if needed
Duplicate of #MC-251311, which is working as intended