This commit is contained in:
Justus Wolff
2026-02-22 21:19:40 +01:00
parent 1e2bf6183b
commit a284cc6c87

View File

@@ -655,9 +655,6 @@ local function VP_lengthofdict(target)
end
local function VP_splitstack(_stack, x)
local stack = _stack["stacks"]
local dimensions = _stack["dimensions"]
local sx = dimensions["x"]
local sz = dimensions["z"]
local height = _stack["height"]
local stacks = {}
local spliteverx = math.floor(VP_lengthofdict(stack)/x)
@@ -716,20 +713,20 @@ local function VP_printstack(buf, dimensions, cx,cy,cz,direction)
if tempbuf then
cx,cz,direction = VP_moveto(x,z, cx,cz,direction)
for _=1,buf["height"],1 do
move("down")
move("down", true)
end
for _,v in pairs(tempbuf) do
if v then
place("down")
end
move("up")
move("up", true)
end
move("up")
move("up", true)
end
end
end
VP_moveto(ox,oz, cx,cz,direction)
for _=1,buf["height"],1 do
for _=1,buf["height"]+1,1 do
move("down")
end
center(direction, 0)