If the Y position of the toolhead is behind the docking station and the probe is attached for some reason (like if you manually attach it) the probe can crash into the docking station because it will go in a straight line to the docking start position. I suggest adding a condition to check if the toolhead y pos is behind a certain value it will go to the Y pos of the docking start pos first and then X.
If the Y position of the toolhead is behind the docking station and the probe is attached for some reason (like if you manually attach it) the probe can crash into the docking station because it will go in a straight line to the docking start position. I suggest adding a condition to check if the toolhead y pos is behind a certain value it will go to the Y pos of the docking start pos first and then X.