summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiLSPACE <NiLSPACE@users.noreply.github.com>2017-05-09 08:56:57 +0200
committerGitHub <noreply@github.com>2017-05-09 08:56:57 +0200
commit72cb84e4d03a18c868d31585424dfdb38ad535f6 (patch)
tree8211484cd23f22fecdc995749603dc6cdaff5059
parentAdded missing checks for Initialize function and updated APIDoc (diff)
parentAPIDump: Add missing 'My' to generated function hook example. (diff)
downloadcuberite-72cb84e4d03a18c868d31585424dfdb38ad535f6.tar
cuberite-72cb84e4d03a18c868d31585424dfdb38ad535f6.tar.gz
cuberite-72cb84e4d03a18c868d31585424dfdb38ad535f6.tar.bz2
cuberite-72cb84e4d03a18c868d31585424dfdb38ad535f6.tar.lz
cuberite-72cb84e4d03a18c868d31585424dfdb38ad535f6.tar.xz
cuberite-72cb84e4d03a18c868d31585424dfdb38ad535f6.tar.zst
cuberite-72cb84e4d03a18c868d31585424dfdb38ad535f6.zip
-rw-r--r--Server/Plugins/APIDump/main_APIDump.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua
index 022fe9975..2c88846e7 100644
--- a/Server/Plugins/APIDump/main_APIDump.lua
+++ b/Server/Plugins/APIDump/main_APIDump.lua
@@ -298,7 +298,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav)
f:write(LinkifyString(a_Hook.Desc, HookName));
f:write("</p>\n<hr /><h1>Callback function</h1>\n<p>The default name for the callback function is ");
f:write(a_Hook.DefaultFnName, ". It has the following signature:\n");
- f:write("<pre class=\"prettyprint lang-lua\">function ", HookName, "(");
+ f:write("<pre class=\"prettyprint lang-lua\">function My", HookName, "(");
if (a_Hook.Params == nil) then
a_Hook.Params = {};
end