diff --git a/packet.go b/packet.go index a01dc16..5b968b4 100644 --- a/packet.go +++ b/packet.go @@ -120,7 +120,7 @@ func (p *PacketAdminServerWelcome) Read(b []byte) { func (p *PacketAdminServerProtocol) Read(b []byte) { r := bufio.NewReader(bytes.NewReader(b)) r.Discard(3) - c, _ = r.ReadByte() + c, _ := r.ReadByte() p.ProtocolVersion = uint8(c) c, _ = r.ReadByte() if c > 0 {