Explorar el Código

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 hace 3 años
padre
commit
642fde44f1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(...)