1
0

APIDump: Renamed the ZBS API dump file to mcserver_api.lua.

This is to avoid confusion with ZBS, where two "mcserver.lua" files were present.
This commit is contained in:
madmaxoft 2014-03-31 18:25:00 +02:00
parent 43844fc0f0
commit f38a009b3c

View File

@ -1408,9 +1408,9 @@ end
--- Dumps the entire API table into a file in the ZBS format
local function DumpAPIZBS(a_API)
LOG("Dumping ZBS API description...")
local f, err = io.open("mcserver.lua", "w")
local f, err = io.open("mcserver_api.lua", "w")
if (f == nil) then
LOG("Cannot open mcserver.lua for writing, ZBS API will not be dumped. " .. err)
LOG("Cannot open mcserver_lua.lua for writing, ZBS API will not be dumped. " .. err)
return
end