diff options
author | NiLSPACE <NiLSPACE@users.noreply.github.com> | 2017-05-09 08:56:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 08:56:57 +0200 |
commit | 72cb84e4d03a18c868d31585424dfdb38ad535f6 (patch) | |
tree | 8211484cd23f22fecdc995749603dc6cdaff5059 /Server | |
parent | Added missing checks for Initialize function and updated APIDoc (diff) | |
parent | APIDump: Add missing 'My' to generated function hook example. (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-rw-r--r-- | Server/Plugins/APIDump/main_APIDump.lua | 2 |
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 |