mirror of
https://github.com/minetest-mods/moreores.git
synced 2025-01-03 03:17:31 +01:00
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
parent
73e99e7d66
commit
809da6d1b5
2
init.lua
2
init.lua
@ -381,6 +381,6 @@ minetest.register_node("moreores:copper_rail", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
if minetest.setting_getbool("log_mods") then
|
if minetest.settings:get_bool("log_mods") then
|
||||||
minetest.log("action", S("[moreores] loaded."))
|
minetest.log("action", S("[moreores] loaded."))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user