Remove the optional mod loading message

This commit is contained in:
Hugo Locurcio 2019-04-03 00:14:52 +02:00
parent e6723e516b
commit 0dfadcf43a
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 1 additions and 5 deletions

View File

@ -21,7 +21,7 @@ local function setting(settingtype, name, default)
getbool_default("maptools." .. name, default)
else
maptools.config[name] =
minetest.setting_get("maptools." .. name) or default
minetest.settings:get("maptools." .. name) or default
end
end

View File

@ -27,7 +27,3 @@ maptools.drop_msg = function(itemstack, player)
local name = player:get_player_name()
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
end
if minetest.setting_getbool("log_mods") then
minetest.log("action", S("[maptools] loaded."))
end