mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 12:33:54 +00:00
only relight blocks that have light
This commit is contained in:
@ -1000,7 +1000,7 @@ public class NMSRelighter implements Relighter {
|
||||
BlockMaterial material = state.getMaterial();
|
||||
int opacity = material.getLightOpacity();
|
||||
int brightness = material.getLightValue();
|
||||
if (brightness != iChunk.getEmmittedLight(x, y, z)) {
|
||||
if (brightness > 0 && brightness != iChunk.getEmmittedLight(x, y, z)) {
|
||||
addLightUpdate(bx + x, y, bz + z);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user