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:
parent
abc7b43b8c
commit
487ff987e7
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue