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:
Vanessa Ezekowitz 2013-11-02 17:32:15 -04:00
parent ac218e55b7
commit f6ffe4bbff

View File

@ -44,7 +44,7 @@ if not minetest.registered_nodes["default:junglegrass"] then
})
else
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)
end