1
0
镜像自地址 https://github.com/mt-mods/homedecor_modpack.git 已同步 2025-11-01 12:45:28 +01:00

Replace deprecated methods:

- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
这个提交包含在:
AntumDeluge
2017-05-13 00:15:26 -07:00
提交者 Vanessa Ezekowitz
父节点 459c02548e
当前提交 7925897748
共有 6 个文件被更改,包括 6 次插入6 次删除

查看文件

@@ -15,7 +15,7 @@ homedecor = {
modpath = modpath,
-- infinite stacks
expect_infinite_stacks = minetest.setting_getbool("creative_mode") and not minetest.get_modpath("unified_inventory")
expect_infinite_stacks = minetest.settings:get_bool("creative_mode") and not minetest.get_modpath("unified_inventory")
}
-- Determine if the item being pointed at is the underside of a node (e.g a ceiling)

查看文件

@@ -108,6 +108,6 @@ minetest.register_lbm({
end
})
if minetest.setting_get("log_mods") then
if minetest.settings:get("log_mods") then
minetest.log("action", "[lrfurn/armchairs] "..S("Loaded!"))
end

查看文件

@@ -65,6 +65,6 @@ minetest.register_craft({
}
})
if minetest.setting_get("log_mods") then
if minetest.settings:get("log_mods") then
minetest.log("action", "[lrfurn/coffeetable] "..S("Loaded!"))
end

查看文件

@@ -48,6 +48,6 @@ minetest.register_craft({
}
})
if minetest.setting_get("log_mods") then
if minetest.settings:get("log_mods") then
minetest.log("action", "[lrfurn/endtable] "..S("Loaded!"))
end

查看文件

@@ -122,6 +122,6 @@ minetest.register_lbm({
end
})
if minetest.setting_get("log_mods") then
if minetest.settings:get("log_mods") then
minetest.log("action", "[lrfurn/longsofas] "..S("Loaded!"))
end

查看文件

@@ -122,6 +122,6 @@ minetest.register_lbm({
end
})
if minetest.setting_get("log_mods") then
if minetest.settings:get("log_mods") then
minetest.log("action", "[lrfurn/sofas] "..S("Loaded!"))
end