mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 18:15:39 +01:00
Fix multi block change not being sent
Tfw when the ugly logic works but you just didn't send the packet
This commit is contained in:
parent
617abe2d8c
commit
ff8a27d92a
@ -84,6 +84,7 @@ public class WorldPackets {
|
|||||||
newPacket.write(Type.LONG, chunkPosition | (chunkY & 0xFFFFFL));
|
newPacket.write(Type.LONG, chunkPosition | (chunkY & 0xFFFFFL));
|
||||||
newPacket.write(Type.BOOLEAN, false); // Ignore light updates
|
newPacket.write(Type.BOOLEAN, false); // Ignore light updates
|
||||||
newPacket.write(Type.VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY, sectionRecord.toArray(EMPTY_RECORDS));
|
newPacket.write(Type.VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY, sectionRecord.toArray(EMPTY_RECORDS));
|
||||||
|
newPacket.send(Protocol1_16_2To1_16_1.class);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user