Added not pattern checking to quarrying.

This commit is contained in:
Harrison Deng 2021-05-07 17:24:15 -05:00
parent 507a016182
commit 2895b1fd14

View File

@ -519,11 +519,11 @@ local function listen()
determineHeading()
elseif data["request"] == QUARRY 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.")
else
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