mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 06:32:25 +01:00
Prevent potential crash caused by moss growth ABM
This commit is contained in:
parent
e19f42d648
commit
61bfac0fa2
@ -560,8 +560,10 @@ minetest.register_abm({
|
||||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
node.name = moss_correspondences[node.name]
|
||||
if node.name then
|
||||
minetest.set_node(pos, node)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user