diff options
| author | mat <git@matdoes.dev> | 2025-02-23 17:39:17 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-02-23 17:39:17 +0000 |
| commit | 6a5ab34a2db56c22e1051dfaabf98322c50f53bd (patch) | |
| tree | bf0e13174c5bbb2bc6885ea357683a030aff5465 /azalea-protocol | |
| parent | 2be4f0f2b66eb7181badec0134c3c3565e3cbd7f (diff) | |
| download | azalea-drasl-6a5ab34a2db56c22e1051dfaabf98322c50f53bd.tar.xz | |
azalea-language now does a binary search instead of a hashmap lookup
Diffstat (limited to 'azalea-protocol')
| -rwxr-xr-x | azalea-protocol/src/packets/game/c_level_chunk_with_light.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/c_level_chunk_with_light.rs b/azalea-protocol/src/packets/game/c_level_chunk_with_light.rs index 43237c3b..c27c24a9 100755 --- a/azalea-protocol/src/packets/game/c_level_chunk_with_light.rs +++ b/azalea-protocol/src/packets/game/c_level_chunk_with_light.rs @@ -25,7 +25,7 @@ pub struct ClientboundLevelChunkPacketData { /// /// This is an Arc because it's often very big and we want it to be cheap to /// clone. - pub data: Arc<Vec<u8>>, + pub data: Arc<Box<[u8]>>, pub block_entities: Vec<BlockEntity>, } |
