diff --git a/src/main.lua b/src/main.lua index 1c1613b..1747b1e 100644 --- a/src/main.lua +++ b/src/main.lua @@ -717,7 +717,7 @@ local function VP_printstack(buf, dimensions, cx,cy,cz,direction) local tempbuf = buf["stacks"][posasstring(x,z)] if tempbuf then cx,cz,direction = VP_moveto(x,z, cx,cz,direction) - for _=1,#tempbuf,1 do + for _=1,#tempbuf+1,1 do move("down", true) end for _,v in pairs(tempbuf) do @@ -726,7 +726,7 @@ local function VP_printstack(buf, dimensions, cx,cy,cz,direction) end move("up", true) end - --move("up", true) -- not needed anymore + move("up", true) end end end