Use get_item_group
1 files changed, 1 insertions(+), 1 deletions(-) M mods/falling_nodes/explosions.lua
M mods/falling_nodes/explosions.lua => mods/falling_nodes/explosions.lua +1 -1
@@ 42,7 42,7 @@ local function action_detonation(pos) local neighbor_node = minetest.get_node(neighbor) if neighbor_node.name == "air" then minetest.set_node(neighbor, {name="falling_nodes:fire"}) elseif minetest.registered_nodes[neighbor_node.name].groups["falling_nodes:detonating"] then elseif minetest.get_item_group(neighbor_node.name, "falling_nodes:detonating") == 1 then action_detonation(neighbor) end end