mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Fix light (#7917)
This commit is contained in:
parent
7997ea59e0
commit
589dcea57a
1 changed files with 1 additions and 1 deletions
|
@ -5132,7 +5132,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ // to try and maintain compatibility with a broken and inferior skylight management system.
|
+ // to try and maintain compatibility with a broken and inferior skylight management system.
|
||||||
+ skyNibbles[y - minSection] = new ca.spottedleaf.starlight.common.light.SWMRNibbleArray(sectionData.getByteArray("SkyLight").clone(), sectionData.getInt(SKYLIGHT_STATE_TAG)); // clone for data safety
|
+ skyNibbles[y - minSection] = new ca.spottedleaf.starlight.common.light.SWMRNibbleArray(sectionData.getByteArray("SkyLight").clone(), sectionData.getInt(SKYLIGHT_STATE_TAG)); // clone for data safety
|
||||||
+ } else {
|
+ } else {
|
||||||
+ blockNibbles[y - minSection] = new ca.spottedleaf.starlight.common.light.SWMRNibbleArray(null, sectionData.getInt(BLOCKLIGHT_STATE_TAG));
|
+ skyNibbles[y - minSection] = new ca.spottedleaf.starlight.common.light.SWMRNibbleArray(null, sectionData.getInt(SKYLIGHT_STATE_TAG));
|
||||||
}
|
}
|
||||||
+ // Paper end - rewrite light engine
|
+ // Paper end - rewrite light engine
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue