remove manual padding. handled in libpso now
This commit is contained in:
parent
e0da49d048
commit
de199c4d80
@ -318,7 +318,7 @@ impl<EG: EntityGateway> ShipServerState<EG> {
|
||||
|
||||
fn player_chat(&mut self, id: ClientId, msg: &PlayerChat) -> Result<Box<dyn Iterator<Item = (ClientId, SendShipPacket)>>, ShipError> {
|
||||
let client = self.clients.get_mut(&id).ok_or(ShipError::ClientNotFound(id))?;
|
||||
let cmsg = PlayerChat::new(0x00010000, client.user.guildcard.unwrap(), msg.message.clone());
|
||||
let cmsg = PlayerChat::new(client.user.guildcard.unwrap(), msg.message.clone());
|
||||
|
||||
Ok(Box::new(self.client_location.get_area_by_user(id).clients().iter()
|
||||
.map(move |client| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user