mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-24 12:35:43 +01:00
Update ChunkSectionLightImpl call
This commit is contained in:
parent
0a6d143d92
commit
b3c1266da7
@ -369,7 +369,7 @@ public class BlockItemPacketRewriter1_14 extends BackwardsItemRewriter<Clientbou
|
|||||||
ChunkSection section = chunk.getSections()[i];
|
ChunkSection section = chunk.getSections()[i];
|
||||||
if (section == null) continue;
|
if (section == null) continue;
|
||||||
|
|
||||||
ChunkSectionLight sectionLight = new ChunkSectionLightImpl();
|
ChunkSectionLight sectionLight = ChunkSectionLightImpl.createWithBlockLight();
|
||||||
section.setLight(sectionLight);
|
section.setLight(sectionLight);
|
||||||
if (chunkLight == null) {
|
if (chunkLight == null) {
|
||||||
sectionLight.setBlockLight(ChunkLightStorage.FULL_LIGHT);
|
sectionLight.setBlockLight(ChunkLightStorage.FULL_LIGHT);
|
||||||
|
Loading…
Reference in New Issue
Block a user