From 289d0e623c1d383f26cbc57c94ce9a8a184bf525 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Sat, 13 May 2017 01:59:30 -0700 Subject: Update usage of settings API --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 2c10cdd..d1b7ebe 100644 --- a/init.lua +++ b/init.lua @@ -32,7 +32,7 @@ if not minetest.registered_privileges[areas.config.self_protection_privilege] th }) end -if minetest.setting_getbool("log_mod") then +if minetest.settings:get_bool("log_mod") then local diffTime = os.clock() - areas.startTime minetest.log("action", "areas loaded in "..diffTime.."s.") end -- cgit v1.2.3