private static VoxelData GetLast(MapCell cell) { if (cell.First == null) { return(null); } VoxelData last = cell.First.GetLast(); if (last != null && (!VoxelData.IsStatic(last.Type) || !last.IsNeutral)) { return(last); } return(null); }