forked from mff/maptools
Remove the optional mod loading message
This commit is contained in:
parent
e6723e516b
commit
0dfadcf43a
@ -21,7 +21,7 @@ local function setting(settingtype, name, default)
|
|||||||
getbool_default("maptools." .. name, default)
|
getbool_default("maptools." .. name, default)
|
||||||
else
|
else
|
||||||
maptools.config[name] =
|
maptools.config[name] =
|
||||||
minetest.setting_get("maptools." .. name) or default
|
minetest.settings:get("maptools." .. name) or default
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
4
init.lua
4
init.lua
@ -27,7 +27,3 @@ maptools.drop_msg = function(itemstack, player)
|
|||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
|
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.setting_getbool("log_mods") then
|
|
||||||
minetest.log("action", S("[maptools] loaded."))
|
|
||||||
end
|
|
||||||
|
Loading…
Reference in New Issue
Block a user