aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-23 17:39:17 +0000
committermat <git@matdoes.dev>2025-02-23 17:39:17 +0000
commit6a5ab34a2db56c22e1051dfaabf98322c50f53bd (patch)
treebf0e13174c5bbb2bc6885ea357683a030aff5465 /azalea-protocol/src/packets
parent2be4f0f2b66eb7181badec0134c3c3565e3cbd7f (diff)
downloadazalea-drasl-6a5ab34a2db56c22e1051dfaabf98322c50f53bd.tar.xz
azalea-language now does a binary search instead of a hashmap lookup
Diffstat (limited to 'azalea-protocol/src/packets')
-rwxr-xr-xazalea-protocol/src/packets/game/c_level_chunk_with_light.rs2
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>,
}