Fix typo in MsgSysGetUserBinary

This commit is contained in:
Andrew Gutekanst
2020-01-23 21:07:29 -05:00
parent 1b74b6496e
commit cf91478abb

View File

@@ -563,8 +563,8 @@ func handleMsgSysSetUserBinary(s *Session, p mhfpacket.MHFPacket) {
func handleMsgSysGetUserBinary(s *Session, p mhfpacket.MHFPacket) {
pkt := p.(*mhfpacket.MsgSysGetUserBinary)
resp := bf.NewByteFrame()
resp := byteframe.NewByteFrame()
if pkt.BinaryType == 1 {
// Stub name response with character ID
resp.WriteBytes([]byte(fmt.Sprintf("CID%d", s.charID)))