forked from mirrors/NBTExplorer
Example fix
This commit is contained in:
parent
c0e5fea8dc
commit
e3021a66a4
1 changed files with 0 additions and 4 deletions
|
@ -27,8 +27,6 @@ namespace Relight
|
||||||
|
|
||||||
// First blank out all of the lighting in all of the chunks
|
// First blank out all of the lighting in all of the chunks
|
||||||
foreach (ChunkRef chunk in cm) {
|
foreach (ChunkRef chunk in cm) {
|
||||||
if (chunk.X < -20 || chunk.X > 0 || chunk.Z < -20 || chunk.Z > 0) continue;
|
|
||||||
|
|
||||||
chunk.Blocks.RebuildHeightMap();
|
chunk.Blocks.RebuildHeightMap();
|
||||||
chunk.Blocks.ResetBlockLight();
|
chunk.Blocks.ResetBlockLight();
|
||||||
chunk.Blocks.ResetSkyLight();
|
chunk.Blocks.ResetSkyLight();
|
||||||
|
@ -39,8 +37,6 @@ namespace Relight
|
||||||
|
|
||||||
// In a separate pass, reconstruct the light
|
// In a separate pass, reconstruct the light
|
||||||
foreach (ChunkRef chunk in cm) {
|
foreach (ChunkRef chunk in cm) {
|
||||||
if (chunk.X < -20 || chunk.X > 0 || chunk.Z < -20 || chunk.Z > 0) continue;
|
|
||||||
|
|
||||||
chunk.Blocks.RebuildBlockLight();
|
chunk.Blocks.RebuildBlockLight();
|
||||||
chunk.Blocks.RebuildSkyLight();
|
chunk.Blocks.RebuildSkyLight();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue