aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/plugins')
-rw-r--r--azalea-client/src/plugins/brand.rs4
1 files changed, 2 insertions, 2 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 {