public void SetBlocklight(int bx, int by, int bz, byte data) { Chunk chunk = chunks[by >> 4]; chunk.SetBlocklight(bx, by - 16 * (by >> 4), bz, data); //SetDirty(); }
public void SetBlocklight(int bx, int by, int bz, byte data) { Chunk chunk = chunks[by >> 4]; chunk.SetBlocklight(bx, by - 16 * (by >> 4), bz, data); _cache = null; isDirty = true; }