aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/login
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-12-19 02:31:08 +0000
committermat <git@matdoes.dev>2024-12-19 02:52:41 +0000
commite268c4929177e540baa9d2bb29bc171f49cc7a25 (patch)
tree10146e529088ab823452a5971c0a37a8886b2a68 /azalea-protocol/src/packets/login
parent1f06a1540f46d8087907566d7c6c1ab397c517ec (diff)
downloadazalea-drasl-e268c4929177e540baa9d2bb29bc171f49cc7a25.tar.xz
fix incorrect packets
Diffstat (limited to 'azalea-protocol/src/packets/login')
-rwxr-xr-xazalea-protocol/src/packets/login/mod.rs22
1 files changed, 11 insertions, 11 deletions
diff --git a/azalea-protocol/src/packets/login/mod.rs b/azalea-protocol/src/packets/login/mod.rs
index 9edf50cf..5e0a0433 100755
--- a/azalea-protocol/src/packets/login/mod.rs
+++ b/azalea-protocol/src/packets/login/mod.rs
@@ -5,18 +5,18 @@ use azalea_protocol_macros::declare_state_packets;
declare_state_packets!(LoginPacket,
Clientbound => [
- login_disconnect,
- hello,
- login_finished,
- login_compression,
- custom_query,
- cookie_request,
+ login_disconnect, // 0x00
+ hello, // 0x01
+ login_finished, // 0x02
+ login_compression, // 0x03
+ custom_query, // 0x04
+ cookie_request, // 0x05
],
Serverbound => [
- hello,
- key,
- custom_query_answer,
- login_acknowledged,
- cookie_response,
+ hello, // 0x00
+ key, // 0x01
+ custom_query_answer, // 0x02
+ login_acknowledged, // 0x03
+ cookie_response, // 0x04
]
);