relight cleanup - think it works now. Little higher level, but that's what's needed.

This commit is contained in:
gnembon committed 2023-05-12 22:04:19 +02:00
1 parent 2cfedc733e
commit 755ec1daa8
11 files changed
+75 -365

No files matched your search

@@ -28,14 +28,4 @@ public abstract class LevelLightEngine_scarpetChunkCreationMixin implements Ligh
if (this.skyEngine != null)
((Lighting_scarpetChunkCreationInterface) this.skyEngine).removeLightData(pos);
}
@Override
public void relight(final long pos)
{
if (this.blockEngine != null)
((Lighting_scarpetChunkCreationInterface) this.blockEngine).relight(pos);
if (this.skyEngine != null)
((Lighting_scarpetChunkCreationInterface) this.skyEngine).relight(pos);
}
}