mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
remove useless match things
This commit is contained in:
parent
42ca37554c
commit
4b1cfd1cf8
1 changed files with 2 additions and 5 deletions
|
@ -99,16 +99,13 @@ impl Client {
|
|||
println!("Got profile {:?}", p.game_profile);
|
||||
break conn.game();
|
||||
}
|
||||
LoginPacket::ServerboundHelloPacket(p) => {
|
||||
println!("Got hello {:?}", p);
|
||||
}
|
||||
LoginPacket::ClientboundLoginDisconnectPacket(p) => {
|
||||
println!("Got disconnect {:?}", p);
|
||||
}
|
||||
LoginPacket::ClientboundCustomQueryPacket(p) => {
|
||||
println!("Got custom query {:?}", p);
|
||||
}
|
||||
LoginPacket::ServerboundKeyPacket(_) => todo!(),
|
||||
_ => panic!("Unexpected packet {:?}", packet),
|
||||
},
|
||||
Err(e) => {
|
||||
panic!("Error: {:?}", e);
|
||||
|
@ -233,7 +230,7 @@ impl Client {
|
|||
GamePacket::ClientboundAddMobPacket(p) => {
|
||||
println!("Got add mob packet {:?}", p);
|
||||
}
|
||||
GamePacket::ServerboundCustomPayloadPacket(_) => todo!(),
|
||||
_ => panic!("Unexpected packet {:?}", packet),
|
||||
}
|
||||
println!();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue