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

@@ -73,7 +73,7 @@ func (m *TCPServerMux) handleFunction(connection net.Conn, messageType uint32, d
return true, err
}
err = binary.Write(connection, binary.LittleEndian, Packet{
Version: 1,
Version: CurrentPacketVersion,
MessageType: responseType,
DataLength: uint64(len(responseData)),
})