summaryrefslogtreecommitdiff
path: root/ilights/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ilights/init.lua')
-rw-r--r--ilights/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ilights/init.lua b/ilights/init.lua
index eed4b03..aee2a60 100644
--- a/ilights/init.lua
+++ b/ilights/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