diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 18:12:39 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 18:12:39 +0100 |
commit | ba5e42de4084e92315de0b7522a5b913064f806d (patch) | |
tree | e7d01b1361952cb622094bddc0397329e58e7b36 | |
parent | fix the issues xoft pointed out (diff) | |
download | cuberite-ba5e42de4084e92315de0b7522a5b913064f806d.tar cuberite-ba5e42de4084e92315de0b7522a5b913064f806d.tar.gz cuberite-ba5e42de4084e92315de0b7522a5b913064f806d.tar.bz2 cuberite-ba5e42de4084e92315de0b7522a5b913064f806d.tar.lz cuberite-ba5e42de4084e92315de0b7522a5b913064f806d.tar.xz cuberite-ba5e42de4084e92315de0b7522a5b913064f806d.tar.zst cuberite-ba5e42de4084e92315de0b7522a5b913064f806d.zip |
-rw-r--r-- | MCServer/Plugins/APIDump/main_APIDump.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua index 7df1367d1..404e0a519 100644 --- a/MCServer/Plugins/APIDump/main_APIDump.lua +++ b/MCServer/Plugins/APIDump/main_APIDump.lua @@ -233,8 +233,8 @@ function DumpAPIHtml() LOG("Dumping all available functions and constants to API subfolder..."); LOG("Moving static files.."); - local localFolder = ipairs(g_Plugin:GetLocalFolder()); - for k, v in cFile:GetFolderContents("Static") do + local localFolder = g_Plugin:GetLocalFolder(); + for k, v in cFile:GetFolderContents(localFolder .. "/Static") do cFile:Copy(localFolder .. "/Static/" .. v, "API/" .. v); end |