1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-06-28 12:56:01 +02:00

Replace deprecated methods:

- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
AntumDeluge
2017-05-13 00:15:26 -07:00
committed by Vanessa Ezekowitz
parent 459c02548e
commit 7925897748
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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