summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-28 13:07:30 +0100
committermadmaxoft <github@xoft.cz>2013-10-28 13:07:30 +0100
commitaca526d158b1b15f8e00a110313896878595f62f (patch)
tree6e249b0aeb1fd7d93e94f5d00a7fbb746adbda0e /MCServer/Plugins/APIDump/main.lua
parentAPIDump: Documented cWorld. (diff)
downloadcuberite-aca526d158b1b15f8e00a110313896878595f62f.tar
cuberite-aca526d158b1b15f8e00a110313896878595f62f.tar.gz
cuberite-aca526d158b1b15f8e00a110313896878595f62f.tar.bz2
cuberite-aca526d158b1b15f8e00a110313896878595f62f.tar.lz
cuberite-aca526d158b1b15f8e00a110313896878595f62f.tar.xz
cuberite-aca526d158b1b15f8e00a110313896878595f62f.tar.zst
cuberite-aca526d158b1b15f8e00a110313896878595f62f.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua
index 2db8b4b1b..a9cdf143b 100644
--- a/MCServer/Plugins/APIDump/main.lua
+++ b/MCServer/Plugins/APIDump/main.lua
@@ -499,6 +499,7 @@ function ReadDescriptions(a_API)
cls.Functions = DoxyFunctions;
else -- if (APIDesc.Functions ~= nil)
for j, func in ipairs(cls.Functions) do
+ local FnName = func.DocID or func.Name;
if not(IsFunctionIgnored(cls.Name .. "." .. FnName)) then
table.insert(cls.UndocumentedFunctions, FnName);
end