forked from mtcontrib/throwing
Fix deprecated call to Minetest settings
This commit is contained in:
parent
61567b3985
commit
c5d137d7ed
2
init.lua
2
init.lua
@ -61,6 +61,6 @@ if minetest.get_modpath('tnt') then
|
|||||||
dofile(minetest.get_modpath("throwing").."/fireworks_arrows.lua")
|
dofile(minetest.get_modpath("throwing").."/fireworks_arrows.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.setting_get("log_mods") then
|
if minetest.settings:get("log_mods") then
|
||||||
minetest.log("action", "throwing loaded")
|
minetest.log("action", "throwing loaded")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user