From 1df916bd7b363c0dfabf53d8ce4c2009d6ced805 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 83320435f6..3044888054 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