failcheck

This commit is contained in:
justuswolff
2026-02-19 20:06:18 +01:00
parent 4f82df6dbb
commit ce75d4a034

View File

@@ -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.")