Reverted temporary redirect to LuaAPI docs (#3487)
This commit is contained in:
parent
1a81eb0f07
commit
dddfb921ee
@ -1891,7 +1891,7 @@ end
|
|||||||
local function CheckNewUndocumentedSymbols()
|
local function CheckNewUndocumentedSymbols()
|
||||||
-- Download the official API stats on undocumented stuff:
|
-- Download the official API stats on undocumented stuff:
|
||||||
-- (We need a blocking downloader, which is impossible with the current cNetwork API)
|
-- (We need a blocking downloader, which is impossible with the current cNetwork API)
|
||||||
assert(os.execute("wget -q -O official_undocumented.lua http://apidocs.cuberite.xoft.cz/_undocumented.lua"))
|
assert(os.execute("wget -q -O official_undocumented.lua https://apidocs.cuberite.org/_undocumented.lua"))
|
||||||
local OfficialStats = cFile:ReadWholeFile("official_undocumented.lua")
|
local OfficialStats = cFile:ReadWholeFile("official_undocumented.lua")
|
||||||
if (OfficialStats == "") then
|
if (OfficialStats == "") then
|
||||||
return true, "Cannot load official stats"
|
return true, "Cannot load official stats"
|
||||||
|
Loading…
Reference in New Issue
Block a user