.
This commit is contained in:
parent
6fc3e03248
commit
c6cd840a55
@ -228,17 +228,16 @@ local function mineRow()
|
||||
|
||||
--save path progress
|
||||
state["dataCurrentPathProgress"] = i+1
|
||||
setState()
|
||||
end
|
||||
print("row: " .. state["dataCurrentRow"]+1 .. "/" .. state["dataGoalRows"] .. ", pathProgress: " .. state["dataCurrentPathProgress"]+1 .. "/" .. state["dataGoalPathProgress"])
|
||||
|
||||
local pos = tutel.getPos()
|
||||
--TODO SAVE LAST VALID POSITION HERE
|
||||
state["lastValidR"] = pos["r"]
|
||||
state["lastValidX"] = pos["x"]
|
||||
state["lastValidY"] = pos["y"]
|
||||
state["lastValidZ"] = pos["z"]
|
||||
setState(state)
|
||||
|
||||
setState()
|
||||
end
|
||||
print("row: " .. state["dataCurrentRow"]+1 .. "/" .. state["dataGoalRows"] .. ", pathProgress: " .. state["dataCurrentPathProgress"]+1 .. "/" .. state["dataGoalPathProgress"])
|
||||
end
|
||||
|
||||
local function mineChunk()
|
||||
|
Loading…
Reference in New Issue
Block a user