1
0

Reverted temporary redirect to LuaAPI docs (#3487)

This commit is contained in:
Mattes D 2016-12-18 20:32:35 +01:00 committed by Alexander Harkness
parent 1a81eb0f07
commit dddfb921ee

View File

@ -1891,7 +1891,7 @@ end
local function CheckNewUndocumentedSymbols()
-- Download the official API stats on undocumented stuff:
-- (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")
if (OfficialStats == "") then
return true, "Cannot load official stats"