Skip to content
Permalink
Browse files

Prevent potential crash caused by moss growth ABM

  • Loading branch information...
acmgit authored and paramat committed Jun 2, 2019
1 parent e19f42d commit 61bfac0fa201253fa1327f7eba1e81445bed5583
Showing with 3 additions and 1 deletion.
  1. +3 −1 mods/default/functions.lua
@@ -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 comments on commit 61bfac0

Please sign in to comment.
You can’t perform that action at this time.