From 675c35708b0c4657a98341d78ba7d9f06323d35d Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Fri, 20 Dec 2013 16:14:49 +0000 Subject: Possibly fixes #384 @madmaxoft, is this the right syntax for lua for loops? --- MCServer/Plugins/APIDump/main_APIDump.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MCServer/Plugins') diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua index ec5569f55..676f4d9a6 100644 --- a/MCServer/Plugins/APIDump/main_APIDump.lua +++ b/MCServer/Plugins/APIDump/main_APIDump.lua @@ -231,6 +231,12 @@ end function DumpAPIHtml() + LOG("Moving static files."); + + for i in cFile:GetFolderContents("Static") do + cFile:Copy("Static/" .. i, "API/" .. i); + end + LOG("Dumping all available functions and constants to API subfolder..."); LOG("Creating API tables..."); -- cgit v1.2.3