mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
This commit is contained in:
@@ -5,6 +5,7 @@ function Private.argcheck(value, num, ...)
|
||||
assert(type(num) == 'number', "Bad argument #2 to 'argcheck' (number expected, got " .. type(num) .. ')')
|
||||
|
||||
for i = 1, arg.n do
|
||||
-- if(type(value) == arg[i]) then return end
|
||||
if(type(value) == select(i, unpack(arg))) then return end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user