From 1f03fc4bf973928f4d808120ab13d56be94ff389 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Fri, 20 Dec 2013 17:35:59 +0000 Subject: Or not. Fixes #384 --- MCServer/Plugins/APIDump/main_APIDump.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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..."); -- cgit v1.2.3