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
1 changed files with 1 additions and 1 deletions

View 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