summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/main_APIDump.lua
diff options
context:
space:
mode:
authorx12xx12x <44411062+12xx12@users.noreply.github.com>2021-06-23 00:09:06 +0200
committerGitHub <noreply@github.com>2021-06-23 00:09:06 +0200
commitcc9f7c06b39ce840d0dcde36e816cf025bd7ce81 (patch)
treea2adc4d33fbba4915e245133ff3896aecd2a798d /Server/Plugins/APIDump/main_APIDump.lua
parentDeath messages for tamed pets and ocelots are now tamable. (#5243) (diff)
downloadcuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar
cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.gz
cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.bz2
cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.lz
cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.xz
cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.zst
cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.zip
Diffstat (limited to 'Server/Plugins/APIDump/main_APIDump.lua')
-rw-r--r--Server/Plugins/APIDump/main_APIDump.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua
index 61dd1e66c..b1277ca0b 100644
--- a/Server/Plugins/APIDump/main_APIDump.lua
+++ b/Server/Plugins/APIDump/main_APIDump.lua
@@ -36,7 +36,7 @@ local function LoadAPIFiles(a_Folder, a_DstTable)
if (a_DstTable[k]) then
-- The class is documented in two files, warn and store into a file (so that CIs can mark build as failure):
LOGWARNING(string.format(
- "APIDump warning: class %s is documented at two places, the documentation in file %s will overwrite the previously loaded one!",
+ "Warning: class %s is documented at two places, the documentation in file %s will overwrite the previously loaded one!",
k, FileName
))
local f = io.open("DuplicateDocs.txt", "a")
@@ -2115,7 +2115,7 @@ function Initialize(Plugin)
g_Plugin = Plugin;
g_PluginFolder = Plugin:GetLocalFolder();
- LOG("Initialising " .. Plugin:GetName() .. " v." .. Plugin:GetVersion())
+ LOG("Initialising v." .. Plugin:GetVersion())
-- Bind a console command to dump the API:
cPluginManager:BindConsoleCommand("api", HandleCmdApi, "Dumps the Lua API docs into the API/ subfolder")