Merge pull request #3 from AntumDeluge/settings
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
commit
7060243f74
2
init.lua
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user