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(); }
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; }