[misc] Fix deprecated call for minetest settings
This commit is contained in:
parent
92464d39c3
commit
ba797c4d39
@ -20,7 +20,7 @@ minetest.register_on_leaveplayer(function(player)
|
|||||||
minetest.sound_play("player_leave", {gain = 1})
|
minetest.sound_play("player_leave", {gain = 1})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if minetest.setting_getbool("log_mods") then
|
if minetest.settings.get_bool("log_mods") then
|
||||||
-- Highlight the default mod in the mod loading logs:
|
-- Highlight the default mod in the mod loading logs:
|
||||||
minetest.log("action", "Carbone: * [default] loaded.")
|
minetest.log("action", "Carbone: * [default] loaded.")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user