Ejemplo n.º 1
0
        private bool CanSeeTheSky(int x, int y, int z, IChunk c)
        {
            int by;

            for (by = y; _blockHelper.Opacity(c.GetSectionType(x, by, z)) == 0 && by < 128; ++by)
            {
                ;
            }

            return(by == 128);
        }