Use group for mushroom spread ABM (#2863)

Have mushroom spread abm use group:mushroom to spread not only default red and brown but all defined shrooms.
This commit is contained in:
tenplus1 2021-05-08 13:42:34 +01:00 committed by GitHub
parent 1c78666c56
commit 642fde44f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,7 @@ end
minetest.register_abm({
label = "Mushroom spread",
nodenames = {"flowers:mushroom_brown", "flowers:mushroom_red"},
nodenames = {"group:mushroom"},
interval = 11,
chance = 150,
action = function(...)