summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-20 19:50:47 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-20 19:50:47 +0100
commit9c575681f88064a57fc1151c1f1f96f4a6b2fdd5 (patch)
treeded712c5732afc72427714ca40a04da87d24386a /MCServer/Plugins/APIDump
parentIncreased the range an Floater can shoot to. (diff)
parentFixed the rest of constructor reorders. (diff)
downloadcuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.gz
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.bz2
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.lz
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.xz
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.tar.zst
cuberite-9c575681f88064a57fc1151c1f1f96f4a6b2fdd5.zip
Diffstat (limited to 'MCServer/Plugins/APIDump')
-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...");