add debugging code
This commit is contained in:
@@ -628,7 +628,7 @@ local function VP_createstack(buf, dimensions)
|
||||
for z=1,dimensions["z"],1 do
|
||||
|
||||
local tempbuf = {}
|
||||
for y=1,dimensions["y"]+1,1 do -- for each y dimension
|
||||
for y=1,dimensions["y"],1 do -- for each y dimension
|
||||
local placecode = buf[posasstring(x,y,z)]
|
||||
for layer=1,3,1 do -- layers
|
||||
table.insert(tempbuf, needstobeplaced(placecode, layer))
|
||||
@@ -638,7 +638,7 @@ local function VP_createstack(buf, dimensions)
|
||||
end
|
||||
VP_optimizestack(tempbuf)
|
||||
|
||||
if #tempbuf > 0 then out[posasstring(x,z)] = tempbuf end
|
||||
if #tempbuf > 0 then print("bugcheck");read();out[posasstring(x,z)] = tempbuf end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user