Posted 25 August 2014 - 04:05 AM
I have a turtle running on a server with the following code:
It was running fine until a few minutes ago and then it suddenly started locking up on either line 1 or 4, is this a server issue? Or is there something wrong with my code?
while true do
for i=1,16 do
if turtle.getItemCount(i) > 0 then
turtle.craft()
turtle.drop()
end
for i=1,16 do
if turtle.getItemCount(i) > 20 then
turtle.select(i)
turtle.dropup()
end
end
end
end
It was running fine until a few minutes ago and then it suddenly started locking up on either line 1 or 4, is this a server issue? Or is there something wrong with my code?