From d9c73e2959a114aa856dc5283d1bf37a63e17966 Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Sun, 3 May 2026 17:32:09 -0400 Subject: [PATCH] fix: facing north is facing negative z I assumed the opposite, incorrectly. --- mine.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mine.lua b/mine.lua index 54b7d7a..4d7fd55 100644 --- a/mine.lua +++ b/mine.lua @@ -367,9 +367,9 @@ if #arg == 3 then elseif #arg == 6 then run(vector.new(arg[1], arg[2], arg[3]), vector.new(arg[4], arg[5], arg[6])) elseif #arg == 9 then - local turtle_pos = vector.new(arg[7], arg[8], arg[9]) - local v1, v2 = vector.new(arg[1], arg[2], arg[3]) - , vector.new(arg[4], arg[5], arg[6]) + local turtle_pos = vector.new(arg[7], arg[8], -arg[9]) + local v1, v2 = vector.new(arg[1], arg[2], -arg[3]) + , vector.new(arg[4], arg[5], -arg[6]) run(v1 - turtle_pos, v2 - turtle_pos) else usage()