correct loginplugindata type

This commit is contained in:
MscBaiMeow
2021-06-19 16:02:43 +08:00
parent 76a32e21a4
commit 7f0641a094
2 changed files with 16 additions and 1 deletions

View File

@ -145,7 +145,7 @@ func (c *Client) join(d *net.Dialer, addr string) error {
var (
msgid pk.VarInt
channel pk.Identifier
data pk.ByteArray
data pk.PluginMessageData
)
if err := p.Scan(&msgid, &channel, &data); err != nil {
return LoginErr{"Login Plugin", err}