[misc] Fix deprecated call for minetest settings

此提交包含在:
2021-02-25 23:39:15 +01:00
父節點 92464d39c3
當前提交 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