mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
Update mod.rs
This commit is contained in:
parent
cde157fdfe
commit
49a8e84161
@ -828,6 +828,8 @@ impl Server {
|
||||
}
|
||||
'O' => self.parse_vehicle_packet(client_idx, packet).await?,
|
||||
'C' => {
|
||||
// TODO: Separate into another runtime to avoid blocking the main one
|
||||
// while we wait for a response from all the plugins
|
||||
let playername = &self.clients[client_idx].info.as_ref().unwrap().username;
|
||||
let packet_data = packet.data_as_string();
|
||||
let contents: Vec<&str> = packet_data.split(":").collect();
|
||||
|
Loading…
x
Reference in New Issue
Block a user