summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-14 08:27:31 +0200
committermadmaxoft <github@xoft.cz>2013-09-14 08:27:31 +0200
commit024b0803747dc639477df3863171f0227dd548c4 (patch)
treeae3c46545722627c61426299896123be23a6c3bd /MCServer/Plugins/APIDump/main.lua
parentFixed empty-handed itemhandler. (diff)
downloadcuberite-024b0803747dc639477df3863171f0227dd548c4.tar
cuberite-024b0803747dc639477df3863171f0227dd548c4.tar.gz
cuberite-024b0803747dc639477df3863171f0227dd548c4.tar.bz2
cuberite-024b0803747dc639477df3863171f0227dd548c4.tar.lz
cuberite-024b0803747dc639477df3863171f0227dd548c4.tar.xz
cuberite-024b0803747dc639477df3863171f0227dd548c4.tar.zst
cuberite-024b0803747dc639477df3863171f0227dd548c4.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/main.lua')
-rw-r--r--MCServer/Plugins/APIDump/main.lua19
1 files changed, 9 insertions, 10 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua
index daa5d1236..2a4a83be9 100644
--- a/MCServer/Plugins/APIDump/main.lua
+++ b/MCServer/Plugins/APIDump/main.lua
@@ -299,17 +299,16 @@ function ReadDescriptions(a_API)
-- TODO
end
end -- if (APIDesc.Constants ~= nil)
-
- -- Remove ignored functions:
- local NewFunctions = {};
- for j, fn in ipairs(cls.Functions) do
- if (not(IsFunctionIgnored(cls.Name .. "." .. fn.Name))) then
- table.insert(NewFunctions, fn);
- end
- end -- for j, fn
- cls.Functions = NewFunctions;
-
end -- if (APIDesc ~= nil)
+
+ -- Remove ignored functions:
+ local NewFunctions = {};
+ for j, fn in ipairs(cls.Functions) do
+ if (not(IsFunctionIgnored(cls.Name .. "." .. fn.Name))) then
+ table.insert(NewFunctions, fn);
+ end
+ end -- for j, fn
+ cls.Functions = NewFunctions;
end -- for i, cls
-- Sort the descendants lists: