Originally Posted by Fizzlemizz
Around line 975
Lua Code:
if options ~= baseOptions then if kind == "header" then elseif type(options.desc) ~= "string" then -- This is where I would check the table is what is expected. return '"desc" must be a string', position elseif options.desc:len() == 0 then return '"desc" cannot be a 0-length string', position end end
I'm not saying DewDrop is wrong but this seems to be where it thinks it's not getting the correct table format/information and posting the error.
If you think it should be get the table:
add print(bosses, type(bosses.desc)) after the table is created and print(options, type(options.desc)) in DewDrop before the return. They should be the same table and desc should be type "string" in both cases. If they're not then you need to track back to where the table changed.
|
All of the code is in Dewdrop file?