diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2026-01-13 10:51:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-13 10:51:45 -0600 |
| commit | b21ac946cafaacc9ee2478ea48ed9e72554f79ed (patch) | |
| tree | 4d05744b9801e94f5da6563d8fabddfb20d1c7b7 /azalea-client/src | |
| parent | d5fa5e32b37754b3b5c136e58821e48cd3b7c2ff (diff) | |
| download | azalea-drasl-b21ac946cafaacc9ee2478ea48ed9e72554f79ed.tar.xz | |
Merge AzaleaRead and AzaleaWrite (#305)
Diffstat (limited to 'azalea-client/src')
| -rw-r--r-- | azalea-client/src/plugins/brand.rs | 4 | ||||
| -rw-r--r-- | azalea-client/src/test_utils/simulation.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/plugins/brand.rs b/azalea-client/src/plugins/brand.rs index 3b118efd..b8fa0efe 100644 --- a/azalea-client/src/plugins/brand.rs +++ b/azalea-client/src/plugins/brand.rs @@ -1,4 +1,4 @@ -use azalea_buf::AzaleaWrite; +use azalea_buf::AzBuf; use azalea_protocol::packets::config::s_custom_payload::ServerboundCustomPayload; use bevy_app::prelude::*; use bevy_ecs::prelude::*; @@ -21,7 +21,7 @@ pub fn send_brand(mut commands: Commands, mut removed: RemovedComponents<InLogin for entity in removed.read() { let mut brand_data = Vec::new(); // pretend to be vanilla - "vanilla".azalea_write(&mut brand_data).unwrap(); + "vanilla".to_owned().azalea_write(&mut brand_data).unwrap(); commands.trigger(SendConfigPacketEvent::new( entity, ServerboundCustomPayload { diff --git a/azalea-client/src/test_utils/simulation.rs b/azalea-client/src/test_utils/simulation.rs index ce4c919d..6af7ba59 100644 --- a/azalea-client/src/test_utils/simulation.rs +++ b/azalea-client/src/test_utils/simulation.rs @@ -2,7 +2,7 @@ use std::{any, collections::VecDeque, fmt::Debug, sync::Arc}; use azalea_auth::game_profile::GameProfile; use azalea_block::BlockState; -use azalea_buf::AzaleaWrite; +use azalea_buf::AzBuf; use azalea_core::{ delta::LpVec3, entity_id::MinecraftEntityId, |
