mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +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];
|
||||
if (section == null) continue;
|
||||
|
||||
ChunkSectionLight sectionLight = new ChunkSectionLightImpl();
|
||||
ChunkSectionLight sectionLight = ChunkSectionLightImpl.createWithBlockLight();
|
||||
section.setLight(sectionLight);
|
||||
if (chunkLight == null) {
|
||||
sectionLight.setBlockLight(ChunkLightStorage.FULL_LIGHT);
|
||||
|
Loading…
Reference in New Issue
Block a user