Removed coroutine stuff that was causing errors.
This commit is contained in:
parent
ba1853d782
commit
de7c77425c
@ -298,6 +298,10 @@ local function moveBy(delta, forward, right)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local function quarry(start, end)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
local function executeTasks()
|
local function executeTasks()
|
||||||
while running do
|
while running do
|
||||||
if task ~= nil then
|
if task ~= nil then
|
||||||
@ -369,7 +373,6 @@ local function listen()
|
|||||||
right=rightAxis
|
right=rightAxis
|
||||||
},
|
},
|
||||||
fuel=turtle.getFuelLevel(),
|
fuel=turtle.getFuelLevel(),
|
||||||
status=coroutine.status(task)
|
|
||||||
}
|
}
|
||||||
sendLog("status:" .. textutils.serialise(status))
|
sendLog("status:" .. textutils.serialise(status))
|
||||||
elseif string.find(content, POSITION) == 1 then
|
elseif string.find(content, POSITION) == 1 then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user