Skip to content

Commit 7ee03fc

Browse files
committed
Fix #2 "Client crash during SMP connection"
1 parent 9681873 commit 7ee03fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/falsepattern/chunk/internal/mixin/mixins/common/vanilla/S26PacketMapChunkBulkMixin.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ public abstract class S26PacketMapChunkBulkMixin {
4040
private int[] zPositions;
4141
@Shadow(aliases = "field_149265_c")
4242
private int[] ebsMasks;
43+
@Shadow(aliases = "field_149262_d")
44+
private int[] ebsMSBMasks;
4345
@Shadow(aliases = "field_149261_g")
4446
private int deflatedSize;
4547
@Shadow(aliases = "field_149267_h")
@@ -66,6 +68,7 @@ public void readPacketData(PacketBuffer data) throws IOException {
6668
xPositions = new int[chunkCount];
6769
zPositions = new int[chunkCount];
6870
ebsMasks = new int[chunkCount];
71+
ebsMSBMasks = new int[chunkCount];
6972
datas = new byte[chunkCount][];
7073

7174
if (inflaterBuffer.length < deflatedSize) {

0 commit comments

Comments
 (0)