From 7ae8bfab5095b8d6fe71f32a0b1cda8a47ccff94 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 27 Oct 2022 20:58:11 -0500 Subject: fix removed packets still being defined --- .../src/packets/game/clientbound_entity_velocity_packet.rs | 11 ----------- .../packets/game/clientbound_update_view_distance_packet.rs | 8 -------- azalea-protocol/src/packets/game/mod.rs | 2 -- 3 files changed, 21 deletions(-) delete mode 100644 azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs delete mode 100755 azalea-protocol/src/packets/game/clientbound_update_view_distance_packet.rs (limited to 'azalea-protocol') diff --git a/azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs b/azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs deleted file mode 100644 index 148e0363..00000000 --- a/azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs +++ /dev/null @@ -1,11 +0,0 @@ -use azalea_buf::McBuf; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, McBuf, ClientboundGamePacket)] -pub struct ClientboundEntityVelocityPacket { - #[var] - pub entity_id: u32, - pub x_vel: i16, - pub y_vel: i16, - pub z_vel: i16, -} diff --git a/azalea-protocol/src/packets/game/clientbound_update_view_distance_packet.rs b/azalea-protocol/src/packets/game/clientbound_update_view_distance_packet.rs deleted file mode 100755 index 1d4a185e..00000000 --- a/azalea-protocol/src/packets/game/clientbound_update_view_distance_packet.rs +++ /dev/null @@ -1,8 +0,0 @@ -use azalea_buf::McBuf; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, McBuf, ClientboundGamePacket)] -pub struct ClientboundUpdateViewDistancePacket { - #[var] - pub view_distance: i32, -} diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs index 039f8e2c..c23e426e 100644 --- a/azalea-protocol/src/packets/game/mod.rs +++ b/azalea-protocol/src/packets/game/mod.rs @@ -23,7 +23,6 @@ pub mod clientbound_custom_sound_packet; pub mod clientbound_delete_chat_packet; pub mod clientbound_disconnect_packet; pub mod clientbound_entity_event_packet; -pub mod clientbound_entity_velocity_packet; pub mod clientbound_explode_packet; pub mod clientbound_forget_level_chunk_packet; pub mod clientbound_game_event_packet; @@ -105,7 +104,6 @@ pub mod clientbound_update_attributes_packet; pub mod clientbound_update_mob_effect_packet; pub mod clientbound_update_recipes_packet; pub mod clientbound_update_tags_packet; -pub mod clientbound_update_view_distance_packet; pub mod serverbound_accept_teleportation_packet; pub mod serverbound_block_entity_tag_query; pub mod serverbound_change_difficulty_packet; -- cgit v1.2.3