diff --git a/repo/js/AutoLeyLineOutcrop/main.js b/repo/js/AutoLeyLineOutcrop/main.js index f5568b18..9f049837 100644 --- a/repo/js/AutoLeyLineOutcrop/main.js +++ b/repo/js/AutoLeyLineOutcrop/main.js @@ -302,6 +302,10 @@ async function executePathsUsingNodeData(position, settings) { // 更新当前节点为下一个节点,继续检查 currentNode = nextNode; currentNodePosition = { x: nextNode.position.x, y: nextNode.position.y }; + } + else{ + log.info("当前路线完成,退出循环"); + break; } } } catch (error) {