This commit is contained in:
Julien Maulny 2018-05-08 23:03:55 +00:00 committed by GitHub
commit 0bc0cfa0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Licensed under the zlib license. See LICENSE.md for more information.
moreblocks.config = {}
local function getbool_default(setting, default)
local value = minetest.settings:get_bool(setting)
local value = minetest.setting_getbool(setting)
if value == nil then
value = default
end

View File

@ -15,7 +15,7 @@ stairsplus.expect_infinite_stacks = false
stairsplus.shapes_list = {}
if not minetest.get_modpath("unified_inventory")
and minetest.settings:get_bool("creative_mode") then
and minetest.setting_getbool("creative_mode") then
stairsplus.expect_infinite_stacks = true
end