change return to home again under VP_printstack or rather, fix it.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
-- http://justus.l--n.de:3000/JUFS/cc_housebuild/raw/branch/main/src/main.lua
|
local url = "http://justus.l--n.de:3000/JUFS/cc_housebuild/raw/branch/main/src/main.lua"
|
||||||
|
|
||||||
if not _G["turtle"] then
|
if not _G["turtle"] then
|
||||||
error("This program only runs on turtles!")
|
error("This program only runs on turtles!")
|
||||||
@@ -729,10 +729,10 @@ local function VP_printstack(buf, dimensions, cx,cz,direction)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
VP_moveto(ox,oz, cx,cz,direction)
|
||||||
for _=1,buf["height"],1 do
|
for _=1,buf["height"],1 do
|
||||||
move("down")
|
move("down")
|
||||||
end
|
end
|
||||||
VP_moveto(ox,oz, cx,cz,direction)
|
|
||||||
return cx,cz,direction
|
return cx,cz,direction
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user