diff options
author | Mattes D <github@xoft.cz> | 2016-12-15 20:22:19 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-12-15 20:22:19 +0100 |
commit | 3516edff5bec8af219bf59ece69d04920a3c182f (patch) | |
tree | 503125cdd97cf5c2e077ce9d04434801313a8cb4 | |
parent | Merge pull request #3478 from cuberite/FixBadChunkCoordsLoad (diff) | |
download | cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.gz cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.bz2 cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.lz cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.xz cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.zst cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.zip |
-rw-r--r-- | Server/Plugins/APIDump/main_APIDump.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua index adb2b1c1c..da56e3444 100644 --- a/Server/Plugins/APIDump/main_APIDump.lua +++ b/Server/Plugins/APIDump/main_APIDump.lua @@ -2108,9 +2108,11 @@ local function HandleCmdApiCheck(a_Split, a_EntireCmd) local newUndocumented, msg = CheckNewUndocumentedSymbols() if (newUndocumented) then if (newUndocumented == true) then - return true, "Cannot check for new undocumented symbols: " .. (msg or "<no message>") + LOGERROR("Cannot check for new undocumented symbols: " .. (msg or "<no message>")) + return true else - return true, "Found new undocumented symbols:\n" .. table.concat(newUndocumented, "\n") + LOGERROR("Found new undocumented symbols:\n" .. table.concat(newUndocumented, "\n")) + return true end end |