summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-14 16:27:12 +0200
committermadmaxoft <github@xoft.cz>2013-09-14 16:27:12 +0200
commit0b10f5f79523686a61ccd42deb0e008004565a82 (patch)
treefb274de5b4eaf2318b09ecfbe0a1e274725eed49 /MCServer/Plugins/APIDump/main.lua
parentAPIDump: Moved sorting after the renaming. (diff)
downloadcuberite-0b10f5f79523686a61ccd42deb0e008004565a82.tar
cuberite-0b10f5f79523686a61ccd42deb0e008004565a82.tar.gz
cuberite-0b10f5f79523686a61ccd42deb0e008004565a82.tar.bz2
cuberite-0b10f5f79523686a61ccd42deb0e008004565a82.tar.lz
cuberite-0b10f5f79523686a61ccd42deb0e008004565a82.tar.xz
cuberite-0b10f5f79523686a61ccd42deb0e008004565a82.tar.zst
cuberite-0b10f5f79523686a61ccd42deb0e008004565a82.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/main.lua')
-rw-r--r--MCServer/Plugins/APIDump/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua
index 0c9d683fb..35b99eb8b 100644
--- a/MCServer/Plugins/APIDump/main.lua
+++ b/MCServer/Plugins/APIDump/main.lua
@@ -140,7 +140,8 @@ function CreateAPITables()
if (
(v ~= _G) and -- don't want the global namespace
(v ~= _G.packages) and -- don't want any packages
- (v ~= _G[".get"])
+ (v ~= _G[".get"]) and
+ (v ~= g_APIDesc)
) then
if (type(v) == "table") then
table.insert(API, ParseClass(i, v));