Fix deprecated call to Minetest settings

master
sys4 2 years ago
parent 61567b3985
commit c5d137d7ed
  1. 2
      init.lua

@ -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

Loading…
Cancel
Save