mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 03:20:03 -04:00
Fixed Moss-growth-function. Prevents server from crashing
This commit is contained in:
parent
e19f42d648
commit
eca89303e4
1 changed files with 4 additions and 2 deletions
|
@ -560,8 +560,10 @@ minetest.register_abm({
|
|||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
node.name = moss_correspondences[node.name]
|
||||
minetest.set_node(pos, node)
|
||||
end
|
||||
if node.name then
|
||||
minetest.set_node(pos, node)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue