forked from mtcontrib/pmobs
Fix deprecated call to Minetest settings
This commit is contained in:
parent
5abfe9569c
commit
81d7c99477
2
init.lua
2
init.lua
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user