log_mod -> log_mods and get setting as boolean
authorShadowNinja <shadowninja@minetest.net>
Mon, 21 Jul 2014 04:13:45 +0000 (00:13 -0400)
committerShadowNinja <shadowninja@minetest.net>
Mon, 21 Jul 2014 04:13:45 +0000 (00:13 -0400)
technic/init.lua

index 7d41b890d8bea5355e92f817b939f7be3e64f897..2349029c9de2994b0ad9eec2e2cd041ac9086429 100644 (file)
@@ -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