예제 #1
0
        public void SetSkyLight(int bx, int by, int bz, byte data)
        {
            Chunk chunk = chunks[by >> 4];

            chunk.SetSkylight(bx, by - 16 * (by >> 4), bz, data);
            //SetDirty();
        }
예제 #2
0
파일: ChunkColumn.cs 프로젝트: oizma/MiNET
        public void SetSkylight(int bx, int by, int bz, byte data)
        {
            Chunk chunk = chunks[by >> 4];

            chunk.SetSkylight(bx, by - 16 * (by >> 4), bz, data);
            _cache  = null;
            isDirty = true;
        }