From 52fadb6dd801e93703415b2a18f3ec26875caaa7 Mon Sep 17 00:00:00 2001 From: AviiNL Date: Thu, 9 Mar 2023 12:08:31 +0100 Subject: [PATCH] Rename valence_protocol to valence::protocol (#280) ## Description Replaced the remaining `valence_protcol` with `valence::protocol` in the examples --- crates/valence/examples/parkour.rs | 6 +++--- crates/valence/examples/resource_pack.rs | 2 +- crates/valence/examples/text.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/valence/examples/parkour.rs b/crates/valence/examples/parkour.rs index eecb963..fb0d1c7 100644 --- a/crates/valence/examples/parkour.rs +++ b/crates/valence/examples/parkour.rs @@ -6,9 +6,9 @@ use rand::Rng; use valence::client::despawn_disconnected_clients; use valence::client::event::default_event_handler; use valence::prelude::*; -use valence_protocol::packet::s2c::play::TitleFadeS2c; -use valence_protocol::sound::Sound; -use valence_protocol::types::SoundCategory; +use valence::protocol::packet::s2c::play::TitleFadeS2c; +use valence::protocol::sound::Sound; +use valence::protocol::types::SoundCategory; const START_POS: BlockPos = BlockPos::new(0, 100, 0); const VIEW_DIST: u8 = 10; diff --git a/crates/valence/examples/resource_pack.rs b/crates/valence/examples/resource_pack.rs index 20b9d80..c62d392 100644 --- a/crates/valence/examples/resource_pack.rs +++ b/crates/valence/examples/resource_pack.rs @@ -3,7 +3,7 @@ use valence::client::event::{ default_event_handler, PlayerInteract, ResourcePackStatus, ResourcePackStatusChange, }; use valence::prelude::*; -use valence_protocol::packet::c2s::play::player_interact::Interaction; +use valence::protocol::packet::c2s::play::player_interact::Interaction; const SPAWN_Y: i32 = 64; diff --git a/crates/valence/examples/text.rs b/crates/valence/examples/text.rs index 992d356..efa81b6 100644 --- a/crates/valence/examples/text.rs +++ b/crates/valence/examples/text.rs @@ -1,7 +1,7 @@ use valence::client::despawn_disconnected_clients; use valence::client::event::default_event_handler; use valence::prelude::*; -use valence_protocol::translation_key; +use valence::protocol::translation_key; const SPAWN_Y: i32 = 64;