remove emojis from logging. Fixes #5

This commit is contained in:
osiu97
2026-07-08 18:51:19 +02:00
parent b2ba8afead
commit 49f91c761d
4 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -161,7 +161,7 @@ async function goto(targetX, targetY, mode = 'direct') {
// Quick check on final destination
const destCheck = IK.checkWorkspace(targetX, targetY);
if (!destCheck.ok) {
UI.log(` Destination blocked: ${destCheck.reason}`, 'error');
UI.log(`[ERROR] Destination blocked: ${destCheck.reason}`, 'error');
return false;
}
@@ -185,7 +185,7 @@ async function goto(targetX, targetY, mode = 'direct') {
// Prevent infinite loop if already at/near safe point
const distToSafe = Math.sqrt(Math.pow(currentPos.endX - SAFE_X, 2) + Math.pow(currentPos.endY - SAFE_Y, 2));
if (distToSafe < 5) {
UI.log(` Path completely blocked even via safe point`, 'error');
UI.log(`[ERROR] Path completely blocked even via safe point`, 'error');
return false;
}
@@ -199,7 +199,7 @@ async function goto(targetX, targetY, mode = 'direct') {
}
if (!segments) {
UI.log(` Target unreachable (path blocked by mechanism)`, 'error');
UI.log(`[ERROR] Target unreachable (path blocked by mechanism)`, 'error');
return false;
}
}