summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntumDeluge <antumdeluge@gmail.com>2017-05-13 01:17:25 -0700
committersofar <sofar+github@foo-projects.org>2017-07-05 10:53:07 -0700
commit809da6d1b505b5a1bd10d2d9a8190a770fe3e12d (patch)
treed54ccc56cce8dbf37d5b308ca9526b6685978b63
parent73e99e7d66acca3f2be11a53a40ab3b9b9694dd9 (diff)
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index da4409f..0a85392 100644
--- a/init.lua
+++ b/init.lua
@@ -381,6 +381,6 @@ minetest.register_node("moreores:copper_rail", {
})
-if minetest.setting_getbool("log_mods") then
+if minetest.settings:get_bool("log_mods") then
minetest.log("action", S("[moreores] loaded."))
end