2 Commits

Author SHA1 Message Date
Niklp
a8c2dfd012 Fix vines nodetimer never starting on new nodes (#76) 2025-10-03 17:34:51 -04:00
tour
b7be6de601 fix typo for moss aliases (#75)
f01e4bb55f removed these nodes but registered wrong aliases
2025-08-04 08:56:44 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -126,8 +126,8 @@ for r = 0, 3 do
}) })
end end
minetest.register_alias("trunks:moss_plain", "trunks:moss_plain_0") minetest.register_alias("trunks:moss", "trunks:moss_plain_0")
minetest.register_alias("trunks:moss_with_fungus", "trunks:moss_with_fungus_0") minetest.register_alias("trunks:moss_fungus", "trunks:moss_with_fungus_0")
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- TWiGS BLoCK -- TWiGS BLoCK

View File

@@ -197,7 +197,7 @@ vines.register_vine = function( name, defs, def )
minetest.set_node(bottom, { minetest.set_node(bottom, {
name = node.name, param2 = node.param2}) name = node.name, param2 = node.param2})
local timer = minetest.get_node_timer(bottom_node) local timer = minetest.get_node_timer(bottom)
timer:start(math.random(growth_min, growth_max)) timer:start(math.random(growth_min, growth_max))
end end