check versions
Some checks failed
Build and Publish / BuildAndDeploy (push) Has been cancelled

This commit is contained in:
matst80
2024-11-11 21:20:07 +01:00
parent c8488835cd
commit c0d6120261
5 changed files with 24 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ func (m *TCPClient) SendPacket(messageType uint32, data []byte) error {
return err
}
err = binary.Write(m.Conn, binary.LittleEndian, Packet{
Version: 1,
Version: CurrentPacketVersion,
MessageType: messageType,
DataLength: uint64(len(data)),
})