mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 13:52:31 +01:00
log_mod -> log_mods and get setting as boolean
This commit is contained in:
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user