diff options
author | madmaxoft <github@xoft.cz> | 2013-10-18 23:22:26 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-18 23:22:26 +0200 |
commit | be996c16626e6f7c8a7c43595f5c6efaacf668eb (patch) | |
tree | 458548dc0680dc4adf53579e8b4ef994f2cdfd16 /MCServer/Plugins/APIDump/main.lua | |
parent | APIDump: Offline prettify is working. (diff) | |
download | cuberite-be996c16626e6f7c8a7c43595f5c6efaacf668eb.tar cuberite-be996c16626e6f7c8a7c43595f5c6efaacf668eb.tar.gz cuberite-be996c16626e6f7c8a7c43595f5c6efaacf668eb.tar.bz2 cuberite-be996c16626e6f7c8a7c43595f5c6efaacf668eb.tar.lz cuberite-be996c16626e6f7c8a7c43595f5c6efaacf668eb.tar.xz cuberite-be996c16626e6f7c8a7c43595f5c6efaacf668eb.tar.zst cuberite-be996c16626e6f7c8a7c43595f5c6efaacf668eb.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/main.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua index fe4df751b..285b0c1c3 100644 --- a/MCServer/Plugins/APIDump/main.lua +++ b/MCServer/Plugins/APIDump/main.lua @@ -748,7 +748,7 @@ function WriteHtmlClass(a_ClassAPI, a_AllAPI) end if (a_ClassAPI.AdditionalInfo ~= nil) then for i, additional in ipairs(a_ClassAPI.AdditionalInfo) do - cf:write(" <li><a href=\"#additionalinfo_" .. i .. "\">" .. additional.Header .. "</a></li>\n"); + cf:write(" <li><a href=\"#additionalinfo_" .. i .. "\">" .. (additional.Header or "<i>(No header)</i>").. "</a></li>\n"); end end cf:write(" </ul>\n\n"); |