mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 10:23:59 +00:00
Fixed a critical issue with in-game chat.
This commit is contained in:
@@ -38,9 +38,9 @@ public class PlayerCommandSender(PlayerInstance player) : ICommandSender
|
||||
Type = ChatType.Friend,
|
||||
Sender = (uint)ConfigManager.Config.ServerOption.ServerProfile.Uid,
|
||||
Recver = (uint)Player.Uid,
|
||||
Text = msg,
|
||||
Text = ChatMessageHelper.NormalizeForClient(msg),
|
||||
Profile = Player.ToServerFriendProto(),
|
||||
TimeStamp = (uint)Extensions.GetUnixMs()
|
||||
TimeStamp = ChatMessageHelper.BuildClientTimestamp()
|
||||
};
|
||||
await Player.SendPacket(CmdIds.NtfFriendChat, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user