failcheck
This commit is contained in:
@@ -900,7 +900,11 @@ while true do
|
|||||||
|
|
||||||
reset()
|
reset()
|
||||||
print("Paired. Splitting stacks and sending out...")
|
print("Paired. Splitting stacks and sending out...")
|
||||||
stacks = VP_splitstack(stacks, expam+1) -- plus 1 because we also build as the master turtle.
|
stacks = VP_splitstack(stacks, #accepted+1) -- plus 1 because we also build as the master turtle.
|
||||||
|
if #stacks["stacks"] ~= #accepted+1 then
|
||||||
|
printError("Internal error with VP_splitstack.")
|
||||||
|
return
|
||||||
|
end
|
||||||
for i,v in pairs(accepted) do
|
for i,v in pairs(accepted) do
|
||||||
reset()
|
reset()
|
||||||
print("ID "..tostring(v).." needs "..VP_calccost(stacks["stacks"][i], stacks["height"],dimensions["x"],dimensions["z"]).." blocks.")
|
print("ID "..tostring(v).." needs "..VP_calccost(stacks["stacks"][i], stacks["height"],dimensions["x"],dimensions["z"]).." blocks.")
|
||||||
|
|||||||
Reference in New Issue
Block a user