fix of crash

This commit is contained in:
Sokomine 2024-01-13 22:54:04 +01:00
parent 2440aef317
commit abf67d0ef5

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 -- 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 if( node2 and node2.name == 'air' ) then
-- let the snow continue to fall -- 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 end
return { remove_node = true}; return { remove_node = true};
end end