Fix deprecated call of Minetest settings
This commit is contained in:
parent
565558358d
commit
9ae537f8a7
2
init.lua
2
init.lua
@ -52,6 +52,6 @@ for _, row in ipairs(paintings.dyes) do
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.setting_getbool("log_mods") then
|
if minetest.settings:get_bool("log_mods") then
|
||||||
minetest.log("action", "Carbone: [paintings] loaded.")
|
minetest.log("action", "Carbone: [paintings] loaded.")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user