Skip to content

Commit

Permalink
Merge pull request cuberite#3699 from cuberite/apidump_patch
Browse files Browse the repository at this point in the history
APIDump: Add missing 'My' to generated function hook example.
  • Loading branch information
NiLSPACE authored May 9, 2017
2 parents 5580d55 + 7127058 commit 72cb84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Plugins/APIDump/main_APIDump.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72cb84e

Please sign in to comment.