summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-05-09 05:50:55 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-09 05:50:55 +0200
commit7127058930542d2c7375f1ce4e3a4b4f139198f0 (patch)
tree8211484cd23f22fecdc995749603dc6cdaff5059 /Server
parentAdded missing checks for Initialize function and updated APIDoc (diff)
downloadcuberite-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')
-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