diff --git a/GROUPS.md b/GROUPS.md index b7264abd92..41b0a0d7ae 100644 --- a/GROUPS.md +++ b/GROUPS.md @@ -83,6 +83,7 @@ These groups are used mostly for informational purposes * `solid=1`: Solid full-cube block (automatically assigned) * `opaque=1`: Opaque block (automatically assigned) * `not_solid=1`: Block is sold (only assign this group for nodes which are automatically detected as “solid” in error +* `fire=1`: Fire * `water=1`: Water * `lava=1`: Lava * `torch`: Torch or torch-like node diff --git a/mods/ITEMS/mcl_fire/init.lua b/mods/ITEMS/mcl_fire/init.lua index 9bd130405a..eddf06dc95 100644 --- a/mods/ITEMS/mcl_fire/init.lua +++ b/mods/ITEMS/mcl_fire/init.lua @@ -35,7 +35,7 @@ minetest.register_node("mcl_fire:fire", { buildable_to = true, sunlight_propagates = true, damage_per_second = 1, - groups = {igniter = 1, dig_immediate = 3, not_in_creative_inventory = 1, dig_by_piston=1}, + groups = {igniter = 1, fire = 1, dig_immediate = 3, not_in_creative_inventory = 1, dig_by_piston=1}, on_timer = function(pos) local f = minetest.find_node_near(pos, 1, {"group:flammable"}) if not f then @@ -76,7 +76,7 @@ minetest.register_node("mcl_fire:eternal_fire", { buildable_to = true, sunlight_propagates = true, damage_per_second = 1, - groups = {igniter = 1, dig_immediate = 3, not_in_creative_inventory = 1, dig_by_piston = 1}, + groups = {igniter = 1, fire = 1, dig_immediate = 3, not_in_creative_inventory = 1, dig_by_piston = 1}, sounds = {}, drop = "", _mcl_blast_resistance = 0, @@ -270,7 +270,7 @@ else -- Fire enabled minetest.register_abm({ label = "Remove flammable nodes", nodenames = {"mcl_fire:fire"}, - neighbors = "group:flammable", + neighbors = {"group:fire"}, interval = 5, chance = 18, catch_up = false,