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:
parent
abc7b43b8c
commit
dfcb7c30aa
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
|
||||
}.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
|
||||
|
|
Loading…
Add table
Reference in a new issue