diff --git a/packet.go b/packet.go index 3656e86..e4072f8 100644 --- a/packet.go +++ b/packet.go @@ -237,6 +237,6 @@ func (p *PacketAdminServerClientError) Read(b []byte) { bs := make([]byte, 4) _, _ = r.Read(bs) p.ClientID = binary.LittleEndian.Uint32(bs[0:]) - c, _ = r.ReadByte() + c, _ := r.ReadByte() p.ErrorID = uint8(c) }