forked from mtcontrib/random_messages
Ajoute message de chargement du mod dans le journal "action"
This commit is contained in:
parent
365ffd23ad
commit
8834e127a8
4
init.lua
4
init.lua
@ -34,7 +34,7 @@ end
|
||||
|
||||
function random_messages.initialize() --Set the interval in minetest.conf.
|
||||
minetest.settings:set("random_messages_interval",120)
|
||||
minetest.settings:save();
|
||||
minetest.settings:save()
|
||||
return 120
|
||||
end
|
||||
|
||||
@ -165,3 +165,5 @@ local register_chatcommand_table = {
|
||||
|
||||
minetest.register_chatcommand("random_messages", register_chatcommand_table)
|
||||
minetest.register_chatcommand("rmessages", register_chatcommand_table)
|
||||
|
||||
minetest.log("action", "[random_messages] loaded.")
|
||||
|
Loading…
Reference in New Issue
Block a user