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() {
|
||||
ClientboundGamePacket::Disconnect(_) => {
|
||||
info!("Disconnected, restarting");
|
||||
return Ok(());
|
||||
return Err("Disconnected".into());
|
||||
}
|
||||
_ => ()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue