Fix deprecated call to Minetest settings

This commit is contained in:
bri cassa 2021-02-28 20:38:56 +01:00
parent 61567b3985
commit c5d137d7ed
1 changed files with 1 additions and 1 deletions

View File

@ -61,6 +61,6 @@ if minetest.get_modpath('tnt') then
dofile(minetest.get_modpath("throwing").."/fireworks_arrows.lua")
end
if minetest.setting_get("log_mods") then
if minetest.settings:get("log_mods") then
minetest.log("action", "throwing loaded")
end