summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-12-20 18:35:59 +0100
committerAlexander Harkness <bearbin@gmail.com>2013-12-20 18:35:59 +0100
commit1f03fc4bf973928f4d808120ab13d56be94ff389 (patch)
tree385bb978cf7d3c08099d4181965e6ce8170df0b1
parentFish now actualy jumps to the player instead of a few block bellow them. (diff)
downloadcuberite-1f03fc4bf973928f4d808120ab13d56be94ff389.tar
cuberite-1f03fc4bf973928f4d808120ab13d56be94ff389.tar.gz
cuberite-1f03fc4bf973928f4d808120ab13d56be94ff389.tar.bz2
cuberite-1f03fc4bf973928f4d808120ab13d56be94ff389.tar.lz
cuberite-1f03fc4bf973928f4d808120ab13d56be94ff389.tar.xz
cuberite-1f03fc4bf973928f4d808120ab13d56be94ff389.tar.zst
cuberite-1f03fc4bf973928f4d808120ab13d56be94ff389.zip
-rw-r--r--MCServer/Plugins/APIDump/main_APIDump.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua
index 404e0a519..e5c8b9c30 100644
--- a/MCServer/Plugins/APIDump/main_APIDump.lua
+++ b/MCServer/Plugins/APIDump/main_APIDump.lua
@@ -233,9 +233,10 @@ function DumpAPIHtml()
LOG("Dumping all available functions and constants to API subfolder...");
LOG("Moving static files..");
+ cFile:CreateFolder("API/Static");
local localFolder = g_Plugin:GetLocalFolder();
for k, v in cFile:GetFolderContents(localFolder .. "/Static") do
- cFile:Copy(localFolder .. "/Static/" .. v, "API/" .. v);
+ cFile:Copy(localFolder .. "/Static/" .. v, "API/Static/" .. v);
end
LOG("Creating API tables...");