mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-09-27 14:50:30 +02:00
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:
parent
dce587cf33
commit
7cf413265b
3
init.lua
3
init.lua
|
@ -25,3 +25,6 @@ if minetest.get_modpath("default") then
|
||||||
dofile(modpath .. "/crafting.lua")
|
dofile(modpath .. "/crafting.lua")
|
||||||
dofile(modpath .. "/aliases.lua")
|
dofile(modpath .. "/aliases.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- print to log after mod was loaded successfully
|
||||||
|
print ("[MOD] MoreOres loaded")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user