fix server-side messages using wrong CID

This commit is contained in:
wish
2023-11-21 21:48:15 +11:00
parent 405e65346b
commit 43f8cef35d

View File

@@ -75,7 +75,7 @@ func sendServerChatMessage(s *Session, message string) {
msgBinChat.Build(bf)
castedBin := &mhfpacket.MsgSysCastedBinary{
CharID: s.charID,
CharID: 0,
MessageType: BinaryMessageTypeChat,
RawDataPayload: bf.Data(),
}