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

Fix accepting ResourcePacks during configuration (#184)

Should probably use `ResourcePackEvent` to accept these, but whatever
This commit is contained in:
EightFactorial 2024-11-15 19:37:07 -08:00 committed by GitHub
parent abc7b43b8c
commit dfcb7c30aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
}.get()
).unwrap();
raw_connection.write_packet(
ServerboundResourcePackPacket {
id: p.id,
action: azalea_protocol::packets::configuration::serverbound_resource_pack_packet::Action::SuccessfullyLoaded
}.get()
).unwrap();
}
ClientboundConfigurationPacket::ResourcePackPop(_) => {
// we can ignore this