fix of crash

This commit is contained in:
Sokomine 2024-01-13 22:54:04 +01:00
parent 2440aef317
commit abf67d0ef5
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ moresnow.on_construct_select_shape = function( pos, falling_node_name, default_n
-- in such a case it helps to drop the snow and let it fall until it hits something
if( node2 and node2.name == 'air' ) then
-- let the snow continue to fall
spawn_falling_node( {x=pos.x, y=pos.y-2, z=pos.z}, {name= default_name})
moresnow.spawn_falling_node( {x=pos.x, y=pos.y-2, z=pos.z}, {name= default_name})
end
return { remove_node = true};
end