Fix MSG_MHF_SAVE_FAVORITE_QUEST parser

This commit is contained in:
Andrew Gutekanst
2019-12-27 08:19:49 +09:00
parent 5b9ec1c983
commit 78cc2be2c4

View File

@@ -21,7 +21,7 @@ func (m *MsgMhfSaveFavoriteQuest) Opcode() network.PacketID {
func (m *MsgMhfSaveFavoriteQuest) Parse(bf *byteframe.ByteFrame) error {
m.AckHandle = bf.ReadUint32()
m.DataSize = bf.ReadUint16()
m.Data = bf.ReadBytes(m.DataSize)
m.Data = bf.ReadBytes(uint(m.DataSize))
}
// Build builds a binary packet from the current data.