forked from mtcontrib/homedecor_modpack
arg --> ...
This commit is contained in:
parent
ff2163ae64
commit
63d8ddc67b
@ -23,7 +23,7 @@ mt.__index = function(table, key)
|
|||||||
local ref = homedecor.box[key]
|
local ref = homedecor.box[key]
|
||||||
if type(ref) == "function" then
|
if type(ref) == "function" then
|
||||||
return function(...)
|
return function(...)
|
||||||
return { type = "fixed", fixed = ref(unpack(arg)) }
|
return { type = "fixed", fixed = ref(...) }
|
||||||
end
|
end
|
||||||
elseif type(ref) == "table" then
|
elseif type(ref) == "table" then
|
||||||
return { type = "fixed", fixed = ref }
|
return { type = "fixed", fixed = ref }
|
||||||
|
Loading…
Reference in New Issue
Block a user