log_mod -> log_mods and get setting as boolean

This commit is contained in:
ShadowNinja 2014-07-21 00:13:45 -04:00
parent 22a4bcf80d
commit 37c06a9110

@ -40,7 +40,7 @@ dofile(modpath.."/tools/init.lua")
-- Aliases for legacy node/item names -- Aliases for legacy node/item names
dofile(modpath.."/legacy.lua") 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)) print(S("[Technic] Loaded in %f seconds"):format(os.clock() - load_start))
end end