geforkt von Mirrors/FastAsyncWorldEdit
only relight blocks that have light
Dieser Commit ist enthalten in:
Ursprung
b1e8c6c3ba
Commit
b066ca8349
@ -1000,7 +1000,7 @@ public class NMSRelighter implements Relighter {
|
|||||||
BlockMaterial material = state.getMaterial();
|
BlockMaterial material = state.getMaterial();
|
||||||
int opacity = material.getLightOpacity();
|
int opacity = material.getLightOpacity();
|
||||||
int brightness = material.getLightValue();
|
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);
|
addLightUpdate(bx + x, y, bz + z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren