forked from mtcontrib/plantlife_modpack
Further restricted the change made to default jungle grass
such that the code only adds a new junglegrass=1 entry to the groups list rather than redefining the list.
This commit is contained in:
parent
ac218e55b7
commit
f6ffe4bbff
@ -44,7 +44,7 @@ if not minetest.registered_nodes["default:junglegrass"] then
|
|||||||
})
|
})
|
||||||
else
|
else
|
||||||
new_junglegrass=clone_node("default:junglegrass")
|
new_junglegrass=clone_node("default:junglegrass")
|
||||||
new_junglegrass.groups = {snappy=3,flammable=2,flora=1,attached_node=1, junglegrass=1}
|
new_junglegrass.groups.junglegrass = 1
|
||||||
minetest.register_node(":default:junglegrass", new_junglegrass)
|
minetest.register_node(":default:junglegrass", new_junglegrass)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user