mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-06-28 06:12:05 +02:00
Replace deprecated methods:
- 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
@ -15,7 +15,7 @@ stairsplus.expect_infinite_stacks = false
|
||||
stairsplus.shapes_list = {}
|
||||
|
||||
if not minetest.get_modpath("unified_inventory")
|
||||
and minetest.setting_getbool("creative_mode") then
|
||||
and minetest.settings:get_bool("creative_mode") then
|
||||
stairsplus.expect_infinite_stacks = true
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user