test
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user