attempt to disable faster to see if my bug is reply_to_custom_queries
All checks were successful
Rust Build / build (push) Successful in 8m15s

related
This commit is contained in:
Soph :3 2026-02-08 15:39:52 +02:00
parent cb8c09a0f9
commit 7ebe36ea0a

View file

@ -280,6 +280,8 @@ impl ViaVersionPlugin {
continue; continue;
} }
event.disabled = true;
let mut buf = Cursor::new(&*event.packet.data); let mut buf = Cursor::new(&*event.packet.data);
let Ok(hash) = String::azalea_read(&mut buf) else { let Ok(hash) = String::azalea_read(&mut buf) else {
error!("Failed to read server id hash from oam:join packet"); error!("Failed to read server id hash from oam:join packet");
@ -291,10 +293,6 @@ impl ViaVersionPlugin {
}; };
warn!("via version magic, {hash}"); warn!("via version magic, {hash}");
// this makes it so azalea doesn't reply to the query so we can handle it
// ourselves
event.disabled = true;
let Some(token) = account.access_token() else { let Some(token) = account.access_token() else {
warn!("The server tried to make us authenticate, but our account is offline-mode"); warn!("The server tried to make us authenticate, but our account is offline-mode");
commands.trigger(SendLoginPacketEvent::new( commands.trigger(SendLoginPacketEvent::new(