Not always a list of strings

kobold.outputs must be a 1D list of strings, but sometimes its still blank. In those cases rather than throwing an error and crashing the scripting its better if it does nothing.
This commit is contained in:
henk717 2021-12-16 12:54:10 +01:00
parent 6d9063fb8b
commit d15b43e20e
1 changed files with 0 additions and 1 deletions

View File

@ -1671,7 +1671,6 @@ return function(_python, _bridged)
setmetatable(koboldbridge.outputs, nil)
for k, v in old_next, koboldbridge.outputs, nil do
if type(v) ~= "string" then
error("`kobold.outputs` must be a 1D list of strings, but found a non-string element at index " .. k)
return r
end
if v ~= _outputs[k] then