summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-14 16:13:39 +0200
committermadmaxoft <github@xoft.cz>2013-10-14 16:13:39 +0200
commit66d8c1b3067efc2893b9db3cc434cadc769382cc (patch)
treea078a5a2e56e7980e614b658f96b46370395cc08 /MCServer/Plugins/APIDump/main.lua
parentAPIDump: Documented HOOK_DISCONNECT. (diff)
downloadcuberite-66d8c1b3067efc2893b9db3cc434cadc769382cc.tar
cuberite-66d8c1b3067efc2893b9db3cc434cadc769382cc.tar.gz
cuberite-66d8c1b3067efc2893b9db3cc434cadc769382cc.tar.bz2
cuberite-66d8c1b3067efc2893b9db3cc434cadc769382cc.tar.lz
cuberite-66d8c1b3067efc2893b9db3cc434cadc769382cc.tar.xz
cuberite-66d8c1b3067efc2893b9db3cc434cadc769382cc.tar.zst
cuberite-66d8c1b3067efc2893b9db3cc434cadc769382cc.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/main.lua')
-rw-r--r--MCServer/Plugins/APIDump/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua
index 87583be0e..8c07144f2 100644
--- a/MCServer/Plugins/APIDump/main.lua
+++ b/MCServer/Plugins/APIDump/main.lua
@@ -327,7 +327,7 @@ function DumpAPIHtml()
f:write("\t\t" .. hook .. " =\n\t\t{\n");
f:write("\t\t\tCalledWhen = \"\",\n");
f:write("\t\t\tDefaultFnName = \"On\", -- also used as pagename\n");
- f:write("\t\t\tDesc = [[]],\n");
+ f:write("\t\t\tDesc = [[\n\t\t\t\t\n\t\t\t]],\n");
f:write("\t\t\tParams =\n\t\t\t{\n");
f:write("\t\t\t\t{ Name = \"\", Type = \"\", Notes = \"\" },\n");
f:write("\t\t\t\t{ Name = \"\", Type = \"\", Notes = \"\" },\n");
@@ -338,7 +338,7 @@ function DumpAPIHtml()
f:write("\t\t\t\t{ Name = \"\", Type = \"\", Notes = \"\" },\n");
f:write("\t\t\t\t{ Name = \"\", Type = \"\", Notes = \"\" },\n");
f:write("\t\t\t},\n");
- f:write("\t\t\tReturns = [[]],\n");
+ f:write("\t\t\tReturns = [[\n\t\t\t\t\n\t\t\t]],\n");
f:write("\t\t}, -- " .. hook .. "\n");
end
end