From 9d900c28ed77fe59824fe4721c462f8c40a4e731 Mon Sep 17 00:00:00 2001 From: Calinou Date: Wed, 30 Apr 2014 20:04:44 +0200 Subject: [PATCH] Obey log_mods setting. --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 070bfe8..3ba09cd 100644 --- a/init.lua +++ b/init.lua @@ -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