Obey log_mods setting.

This commit is contained in:
Calinou 2014-04-30 20:04:44 +02:00
parent 2ebb2ad22e
commit 9d900c28ed
1 changed files with 3 additions and 1 deletions

View File

@ -469,4 +469,6 @@ minetest.register_on_punchnode(function(pos, node, puncher)
end
end)
print(S("[maptools] loaded."))
if minetest.setting_getbool("log_mods") then
print(S("[maptools] loaded."))
end