From dc5bac8d86483b67a1a2540ddb6c85e916cbb94e Mon Sep 17 00:00:00 2001 From: AFCMS Date: Fri, 16 Apr 2021 11:03:31 +0200 Subject: [PATCH] fix warning --- mods/ITEMS/mcl_torches/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_torches/api.lua b/mods/ITEMS/mcl_torches/api.lua index 83320435f..304488805 100644 --- a/mods/ITEMS/mcl_torches/api.lua +++ b/mods/ITEMS/mcl_torches/api.lua @@ -257,7 +257,7 @@ minetest.register_lbm({ nodenames = {"group:torch_particles"}, run_at_every_load = true, action = function(pos, node) - local torch_group = minetest.get_node_group(node.name, "torch") + local torch_group = minetest.get_item_group(node.name, "torch") if torch_group == 1 then spawn_flames_floor(pos) elseif torch_group == 2 then