View Single Post
12-22-18, 07:21 PM   #7
Brellison94
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2013
Posts: 36
Originally Posted by Fizzlemizz View Post
Around line 975
Lua Code:
  1. if options ~= baseOptions then
  2.     if kind == "header" then
  3.     elseif type(options.desc) ~= "string" then
  4. -- This is where I would check the table is what is expected.
  5.         return '"desc" must be a string', position
  6.     elseif options.desc:len() == 0 then
  7.         return '"desc" cannot be a 0-length string', position
  8.     end
  9. 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:
Code:
bosses = {...}
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?
  Reply With Quote