diff options
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r-- | MCServer/Plugins/APIDump/main.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua index 0fb6893b5..5d0070be3 100644 --- a/MCServer/Plugins/APIDump/main.lua +++ b/MCServer/Plugins/APIDump/main.lua @@ -466,14 +466,13 @@ function ConvertWikiToDesc() -- Write the info into the output file: fout:write("\t\t" .. ClassName .. " =\n\t\t{\n\t\t\tDesc = [[" .. Desc .. "]],\n\t\t\tFunctions =\n\t\t\t{\n"); for i, func in ipairs(Functions) do - LOG(ClassName .. "." .. func.Name); - fout:write(string.format("\t\t\t\t{ %s = { Params = %q, Return = %q, Notes = %q } },\n", + fout:write(string.format("\t\t\t\t%s = { Params = %q, Return = %q, Notes = %q },\n", func.Name, func.Params, func.Return, func.Notes )); end fout:write("\t\t\t},\n\t\t\tConstants =\n\t\t\t{\n"); for i, cons in ipairs(Constants) do - fout:write(string.format("\t\t\t\t{ %s = { Notes = %q } },\n", + fout:write(string.format("\t\t\t\t%s = { Notes = %q },\n", cons.Name, cons.Notes )); end |