From 37c06a91107965a27b1fc02f5f9a646891cc75be Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 21 Jul 2014 00:13:45 -0400 Subject: [PATCH] log_mod -> log_mods and get setting as boolean --- technic/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/init.lua b/technic/init.lua index 7d41b89..2349029 100644 --- a/technic/init.lua +++ b/technic/init.lua @@ -40,7 +40,7 @@ dofile(modpath.."/tools/init.lua") -- Aliases for legacy node/item names dofile(modpath.."/legacy.lua") -if minetest.setting_get("log_mod") then +if minetest.setting_getbool("log_mods") then print(S("[Technic] Loaded in %f seconds"):format(os.clock() - load_start)) end -- 2.30.2