diff --git a/core/ConfigValidator.lua b/core/ConfigValidator.lua index 42af606..869a6b9 100644 --- a/core/ConfigValidator.lua +++ b/core/ConfigValidator.lua @@ -152,7 +152,7 @@ if schema.__entry then local validationErrors = {} for i = 1, #config do - if type(config[i]) ~= "table" then + if type(config[i]) ~= "table" or type(config[i]) ~= "table" then local err = typeCheck(schema.__entry, schema.__entry, config[i], path .. "[" .. i .. "]") if err then table.insert(validationErrors, err)