1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

Fix accepting ResourcePacks during configuration

Should probably use `ResourcePackEvent` to accept these, but whatever
This commit is contained in:
EightFactorial 2024-11-15 19:03:16 -08:00
parent abc7b43b8c
commit 487ff987e7
No known key found for this signature in database

View file

@ -183,6 +183,12 @@ pub fn process_packet_events(ecs: &mut World) {
action: azalea_protocol::packets::configuration::serverbound_resource_pack_packet::Action::Accepted action: azalea_protocol::packets::configuration::serverbound_resource_pack_packet::Action::Accepted
}.get() }.get()
).unwrap(); ).unwrap();
raw_connection.write_packet(
ServerboundResourcePackPacket {
id: p.id,
action: azalea_protocol::packets::configuration::serverbound_resource_pack_packet::Action::SuccessfullyLoaded
}.get()
).unwrap();
} }
ClientboundConfigurationPacket::ResourcePackPop(_) => { ClientboundConfigurationPacket::ResourcePackPop(_) => {
// we can ignore this // we can ignore this