diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 17:38:10 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 17:38:10 +0100 |
commit | d31fd1528b909e40022e4fbe27fe98d74b30e34e (patch) | |
tree | 4fe51a0bdeae26e1c859d9759e15c2ce29edf8c8 /MCServer/Plugins | |
parent | @madmaxoft now? (diff) | |
download | cuberite-d31fd1528b909e40022e4fbe27fe98d74b30e34e.tar cuberite-d31fd1528b909e40022e4fbe27fe98d74b30e34e.tar.gz cuberite-d31fd1528b909e40022e4fbe27fe98d74b30e34e.tar.bz2 cuberite-d31fd1528b909e40022e4fbe27fe98d74b30e34e.tar.lz cuberite-d31fd1528b909e40022e4fbe27fe98d74b30e34e.tar.xz cuberite-d31fd1528b909e40022e4fbe27fe98d74b30e34e.tar.zst cuberite-d31fd1528b909e40022e4fbe27fe98d74b30e34e.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/main_APIDump.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua index d7aff1926..7df1367d1 100644 --- a/MCServer/Plugins/APIDump/main_APIDump.lua +++ b/MCServer/Plugins/APIDump/main_APIDump.lua @@ -230,14 +230,13 @@ end function DumpAPIHtml() - LOG("Moving static files."); + LOG("Dumping all available functions and constants to API subfolder..."); - local localFolder = g_Plugin:GetLocalFolder(); + LOG("Moving static files.."); + local localFolder = ipairs(g_Plugin:GetLocalFolder()); for k, v in cFile:GetFolderContents("Static") do - cFile:Copy(localFolder .. "/Static/" .. v, localFolder .. "/API/" .. v); + cFile:Copy(localFolder .. "/Static/" .. v, "API/" .. v); end - - LOG("Dumping all available functions and constants to API subfolder..."); LOG("Creating API tables..."); local API, Globals = CreateAPITables(); |