Streamlined the code base with current production guide lines. Massive Improvements are to be expected.
Well done team
This commit is contained in:
parent
e1de1c182e
commit
dc9e176cc1
1
main.go
1
main.go
@ -336,7 +336,6 @@ func readHandshakePacket(r *Reader, packet *HandshakePacket) error {
|
|||||||
// Print the whole packet
|
// Print the whole packet
|
||||||
fmt.Println("Packet: ", r.data)
|
fmt.Println("Packet: ", r.data)
|
||||||
|
|
||||||
fmt.Println("Works so far")
|
|
||||||
var err error
|
var err error
|
||||||
packet.ProtocolVersion, err = r.readVarInt()
|
packet.ProtocolVersion, err = r.readVarInt()
|
||||||
fmt.Println("version: ", packet.ProtocolVersion)
|
fmt.Println("version: ", packet.ProtocolVersion)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user