diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-05-09 05:50:55 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-05-09 05:50:55 +0200 |
commit | 7127058930542d2c7375f1ce4e3a4b4f139198f0 (patch) | |
tree | 8211484cd23f22fecdc995749603dc6cdaff5059 /Server/Plugins/APIDump | |
parent | Added missing checks for Initialize function and updated APIDoc (diff) | |
download | cuberite-7127058930542d2c7375f1ce4e3a4b4f139198f0.tar cuberite-7127058930542d2c7375f1ce4e3a4b4f139198f0.tar.gz cuberite-7127058930542d2c7375f1ce4e3a4b4f139198f0.tar.bz2 cuberite-7127058930542d2c7375f1ce4e3a4b4f139198f0.tar.lz cuberite-7127058930542d2c7375f1ce4e3a4b4f139198f0.tar.xz cuberite-7127058930542d2c7375f1ce4e3a4b4f139198f0.tar.zst cuberite-7127058930542d2c7375f1ce4e3a4b4f139198f0.zip |
Diffstat (limited to 'Server/Plugins/APIDump')
-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 |