From 59e57c17866d0b66a01cdc3e40ece17d76059222 Mon Sep 17 00:00:00 2001 From: brulijam Date: Sun, 23 Jun 2024 20:16:14 +0200 Subject: [PATCH] . --- src/brulijam/t-fiboMiner.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/brulijam/t-fiboMiner.lua b/src/brulijam/t-fiboMiner.lua index 1f15f5f..b92742d 100755 --- a/src/brulijam/t-fiboMiner.lua +++ b/src/brulijam/t-fiboMiner.lua @@ -315,6 +315,8 @@ local function checkPosition() pos = tutel.getPos() state = getState() + print("pos:" .. textutils.serialize(pos)) + if not (pos["r"] == state["lastValidR"] and pos["x"] == state["lastValidX"] and pos["y"] == state["lastValidY"] and pos["z"] == state["lastValidZ"]) then --TODO go to last valid pos print("Tutel moving to where it should be")