Browse Source

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.
tenplus1 3 years ago
parent
commit
642fde44f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mods/flowers/init.lua

+ 1 - 1
mods/flowers/init.lua

@@ -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(...)