From 9f4d0bb33d6963c2f3f3d048b00f56f5d2e7a515 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Fri, 12 May 2017 23:57:10 -0700 Subject: [PATCH] Replace deprecated method 'setting_getbool' with 'settings:get_bool' --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index eed4b03..aee2a60 100644 --- a/init.lua +++ b/init.lua @@ -12,7 +12,7 @@ else S = function(s) return s end end -if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then +if minetest.get_modpath("unified_inventory") or not minetest.settings:get_bool("creative_mode") then ilights.expect_infinite_stacks = false else ilights.expect_infinite_stacks = true