amend load print

Add a final **print to log** at the end of `init.lua` to indicate themod was loaded successfully. This idea was derived from other mods which are specifically aimed at MT servers.

This could be useful not only for player support (e.g. in the MT forum) but would be certainly useful for MT server admins using the CLI and reading their server logs.
This commit is contained in:
Zweihorn 2022-12-21 06:50:53 +01:00 committed by GitHub
parent dce587cf33
commit 7cf413265b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -25,3 +25,6 @@ if minetest.get_modpath("default") then
dofile(modpath .. "/crafting.lua")
dofile(modpath .. "/aliases.lua")
end
-- print to log after mod was loaded successfully
print ("[MOD] MoreOres loaded")