Fixed Moss-growth-function. Prevents server from crashing

This commit is contained in:
A.C.M 2019-06-02 15:20:01 +02:00 committed by SmallJoker
parent e19f42d648
commit eca89303e4

View file

@ -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
})