summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main_APIDump.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/APIDump/main_APIDump.lua')
-rw-r--r--MCServer/Plugins/APIDump/main_APIDump.lua9
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();