From 7bbbcbf7b07428935fd143791b3feee2787b3cac Mon Sep 17 00:00:00 2001 From: Rui Date: Wed, 30 Mar 2016 12:32:53 +0900 Subject: [PATCH] Fire: Use get_item_group instead of get_node_group --- mods/fire/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/fire/init.lua b/mods/fire/init.lua index c6f3d479..15f71560 100644 --- a/mods/fire/init.lua +++ b/mods/fire/init.lua @@ -81,7 +81,7 @@ minetest.register_tool("fire:flint_and_steel", { itemstack:add_wear(1000) local node_under = minetest.get_node(pt.under).name - if minetest.get_node_group(node_under, "flammable") >= 1 then + if minetest.get_item_group(node_under, "flammable") >= 1 then if not minetest.is_protected(pt.above, player_name) then minetest.set_node(pt.above, {name = "fire:basic_flame"}) else -- 2.25.1