make the bot more betterererererer
This commit is contained in:
parent
711d03d16a
commit
805fb82a98
|
@ -196,7 +196,7 @@ async fn handle_packet(e: Event, config: &Arc<RwLock<Config>>, reciever: &Receiv
|
||||||
match p.as_ref() {
|
match p.as_ref() {
|
||||||
ClientboundGamePacket::Disconnect(_) => {
|
ClientboundGamePacket::Disconnect(_) => {
|
||||||
info!("Disconnected, restarting");
|
info!("Disconnected, restarting");
|
||||||
return Ok(());
|
return Err("Disconnected".into());
|
||||||
}
|
}
|
||||||
_ => ()
|
_ => ()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue