Mine path during return to origin
This commit is contained in:
parent
8a9b0e4361
commit
4006bd8175
1 changed files with 1 additions and 1 deletions
2
mine.lua
2
mine.lua
|
|
@ -107,7 +107,7 @@ end
|
||||||
function dropOffItems (go_back)
|
function dropOffItems (go_back)
|
||||||
-- Turn off mining
|
-- Turn off mining
|
||||||
local mine_state = mode.mine
|
local mine_state = mode.mine
|
||||||
mode.mine = {}
|
mode.mine = { forward = true }
|
||||||
-- Note current position (assuming facing FORWARD)
|
-- Note current position (assuming facing FORWARD)
|
||||||
local pos_state = { x = mode.x, y = mode.y, z = mode.z }
|
local pos_state = { x = mode.x, y = mode.y, z = mode.z }
|
||||||
-- Return to origin, facing BACK
|
-- Return to origin, facing BACK
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue