diff options
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, |
