From e268c4929177e540baa9d2bb29bc171f49cc7a25 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 19 Dec 2024 02:31:08 +0000 Subject: fix incorrect packets --- azalea-protocol/src/packets/config/mod.rs | 50 +++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'azalea-protocol/src/packets/config') diff --git a/azalea-protocol/src/packets/config/mod.rs b/azalea-protocol/src/packets/config/mod.rs index 4eda0f03..ab1c1a78 100755 --- a/azalea-protocol/src/packets/config/mod.rs +++ b/azalea-protocol/src/packets/config/mod.rs @@ -5,32 +5,32 @@ use azalea_protocol_macros::declare_state_packets; declare_state_packets!(ConfigPacket, Clientbound => [ - cookie_request, - custom_payload, - disconnect, - finish_configuration, - keep_alive, - ping, - reset_chat, - registry_data, - resource_pack_pop, - resource_pack_push, - store_cookie, - transfer, - update_enabled_features, - update_tags, - select_known_packs, - custom_report_details, - server_links, + cookie_request, // 0x00 + custom_payload, // 0x01 + disconnect, // 0x02 + finish_configuration, // 0x03 + keep_alive, // 0x04 + ping, // 0x05 + reset_chat, // 0x06 + registry_data, // 0x07 + resource_pack_pop, // 0x08 + resource_pack_push, // 0x09 + store_cookie, // 0x0A + transfer, // 0x0B + update_enabled_features, // 0x0C + update_tags, // 0x0D + select_known_packs, // 0x0E + custom_report_details, // 0x0F + server_links, // 0x10 ], Serverbound => [ - client_information, - cookie_response, - custom_payload, - finish_configuration, - keep_alive, - pong, - resource_pack, - select_known_packs, + client_information, // 0x00 + cookie_response, // 0x01 + custom_payload, // 0x02 + finish_configuration, // 0x03 + keep_alive, // 0x04 + pong, // 0x05 + resource_pack, // 0x06 + select_known_packs, // 0x07 ] ); -- cgit v1.2.3