[misc] Fix deprecated call for minetest settings
This commit is contained in:
		| @@ -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  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user