summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-12-20 17:38:10 +0100
committerAlexander Harkness <bearbin@gmail.com>2013-12-20 17:38:10 +0100
commitd31fd1528b909e40022e4fbe27fe98d74b30e34e (patch)
tree4fe51a0bdeae26e1c859d9759e15c2ce29edf8c8 /MCServer
parent@madmaxoft now? (diff)
downloadcuberite-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.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();