Skip to content

Commit

Permalink
Update events.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayBox committed Oct 3, 2024
1 parent cc7d64b commit 3e0d62b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azalea-client/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fn configuration_packet_listener(
let local_player_events = query
.get(event.entity)
.expect("Non-local entities shouldn't be able to receive packet events");
let _ = local_player_events.send(Event::Packet(event.packet.clone()));
let _ = local_player_events.send(Event::Packet(ClientboundPacket::Configuration(event.packet.clone())));
}
}

Expand All @@ -199,7 +199,7 @@ fn game_packet_listener(
let local_player_events = query
.get(event.entity)
.expect("Non-local entities shouldn't be able to receive packet events");
let _ = local_player_events.send(Event::Packet(event.packet.clone()));
let _ = local_player_events.send(Event::Packet(ClientboundPacket::Game(event.packet.clone())));
}
}

Expand Down

0 comments on commit 3e0d62b

Please sign in to comment.