private static void SetChunkLightDirty(OCMap map, Vector3i chunkPos) { OCChunk chunkData = map.GetChunk(chunkPos); if(chunkData == null) return; OCChunkRenderer chunk = chunkData.GetChunkRenderer(); if(chunk == null) return; chunk.SetLightDirty(); }
private static void SetChunkLightDirty(OCMap map, Vector3i chunkPos) { OCChunk chunkData = map.GetChunk(chunkPos); if (chunkData == null) { return; } OCChunkRenderer chunk = chunkData.GetChunkRenderer(); if (chunk == null) { return; } chunk.SetLightDirty(); }