null = { type = "fixed", fixed = { 0, 0, 0, 0, 0, 0 } }
}
-xdecor.pixelnodebox = function(size, boxes)
+xdecor.pixelbox = function(size, boxes)
local fixed = {}
for _, box in pairs(boxes) do
- local x, y, z, w, h, l = unpack(box)
+ local x, y, z, w, h, l = unpack(box) -- `unpack` has been changed to `table.unpack` in newest Lua versions.
fixed[#fixed+1] = {
(x / size) - 0.5,
(y / size) - 0.5,