Update ChunkSectionLightImpl call

This commit is contained in:
Nassim Jahnke 2024-10-25 18:09:02 +02:00
parent 0a6d143d92
commit b3c1266da7
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -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);