make the bot more betterererererer

This commit is contained in:
core 2023-07-17 21:25:50 -04:00
parent 711d03d16a
commit 805fb82a98
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 1 additions and 1 deletions

View File

@ -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());
} }
_ => () _ => ()
} }