From c5d137d7eddaf91d13129768fea3429db90effda Mon Sep 17 00:00:00 2001 From: sys4 Date: Sun, 28 Feb 2021 20:38:56 +0100 Subject: [PATCH] Fix deprecated call to Minetest settings --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index be1d42a..958f96e 100644 --- a/init.lua +++ b/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