Added not pattern checking to quarrying.
This commit is contained in:
parent
507a016182
commit
2895b1fd14
@ -519,11 +519,11 @@ local function listen()
|
|||||||
determineHeading()
|
determineHeading()
|
||||||
elseif data["request"] == QUARRY then
|
elseif data["request"] == QUARRY then
|
||||||
if heading ~= nil then
|
if heading ~= nil then
|
||||||
quarry(data["content"][1], data["content"][2], data["content"][3], heading, rightAxis)
|
quarry(data["content"][1], data["content"][2], data["content"][3], heading, rightAxis, notPattern)
|
||||||
sendLog(QUARRY, "Using actual position for quarrying.")
|
sendLog(QUARRY, "Using actual position for quarrying.")
|
||||||
else
|
else
|
||||||
sendLog(QUARRY, "Using relative position for quarrying.")
|
sendLog(QUARRY, "Using relative position for quarrying.")
|
||||||
quarry(data["content"][1], data["content"][2], data["content"][3], relHeading, relRightAxis)
|
quarry(data["content"][1], data["content"][2], data["content"][3], relHeading, relRightAxis, notPattern)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user