correct type
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m49s

This commit is contained in:
matst80
2024-11-10 20:40:14 +01:00
parent 7e4f5c38c2
commit 4f0f0b969c
4 changed files with 5 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ func (m *TCPCartServerMux) HandleConnection(connection net.Conn) error {
return err
}
data, err := GetPacketData(connection, int(packet.DataLength))
data, err := GetPacketData(connection, packet.DataLength)
if err != nil {
log.Printf("Error getting packet data: %v\n", err)
}