This commit is contained in:
Julian Brammer 2024-06-23 20:16:14 +02:00
parent c6cd840a55
commit 59e57c1786

View File

@ -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")