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:
parent
43844fc0f0
commit
f38a009b3c
@ -1408,9 +1408,9 @@ end
|
|||||||
--- Dumps the entire API table into a file in the ZBS format
|
--- Dumps the entire API table into a file in the ZBS format
|
||||||
local function DumpAPIZBS(a_API)
|
local function DumpAPIZBS(a_API)
|
||||||
LOG("Dumping ZBS API description...")
|
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
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user