diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua index 22801b1e5..92425119e 100644 --- a/MCServer/Plugins/APIDump/main.lua +++ b/MCServer/Plugins/APIDump/main.lua @@ -867,9 +867,9 @@ function WriteHtmlHook(a_Hook) f:write("\n\n"); local Examples = a_Hook.CodeExamples or {}; for i, example in ipairs(Examples) do - f:write("
" .. example.Desc .. "
\n\n"); - f:write("" .. example.Code .. "\n\n\n"); + f:write("
" .. (example.Desc or "missing Desc") .. "
\n\n"); + f:write("" .. (example.Code or "missing Code") .. "\n\n\n"); end f:write([[