Skip to content

Commit

Permalink
Fix accepting ResourcePacks during configuration (#184)
Browse files Browse the repository at this point in the history
Should probably use `ResourcePackEvent` to accept these, but whatever
  • Loading branch information
EightFactorial authored Nov 16, 2024
1 parent abc7b43 commit dfcb7c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azalea-client/src/packet_handling/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfcb7c3

Please sign in to comment.