Stricter fire starting: node must be max flammability.

This commit is contained in:
Aaron Suen 2019-01-06 13:05:51 -05:00
parent 62f0db49e0
commit 915cd773e2

View File

@ -61,7 +61,7 @@ if nodecore.loaded_mods().nc_fire then
z = pos.z + dir.z
}
if nodecore.node_is(below,
{groups = {flammable = true}}) then
{groups = {flammable = 1}}) then
minetest.remove_node(pos)
minetest.set_node(below, {name = "nc_fire:fuel"})
end