Skip to content
Snippets Groups Projects
Commit 61bfac0f authored by acmgit's avatar acmgit Committed by Paramat
Browse files

Prevent potential crash caused by moss growth ABM

parent e19f42d6
No related branches found
No related tags found
No related merge requests found
......@@ -560,7 +560,9 @@ minetest.register_abm({
catch_up = false,
action = function(pos, node)
node.name = moss_correspondences[node.name]
minetest.set_node(pos, node)
if node.name then
minetest.set_node(pos, node)
end
end
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment