Fix deprecated call to Minetest settings

This commit is contained in:
bri cassa 2021-03-25 21:17:15 +01:00
parent 5abfe9569c
commit 81d7c99477
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ dofile(minetest.get_modpath("pmobs").."/npc.lua") -- TenPlus1
dofile(minetest.get_modpath("pmobs").."/npc_female.lua") -- NALC(sys4 fork MFF) nuttmeg20
dofile(minetest.get_modpath("pmobs").."/guard.lua") -- CProgrammingRU
if minetest.setting_get("log_mods") then
if minetest.settings:get("log_mods") then
minetest.log("action", "pmobs loaded")
end