now the new yggdrasil package and /cmd s can pass go test >_<

This commit is contained in:
Tnze
2019-08-09 00:53:39 +08:00
parent c02d1fa43a
commit dac6580ff8
2 changed files with 11 additions and 11 deletions

View File

@ -47,9 +47,9 @@ func ExampleClient_JoinServer_online() {
if err != nil {
panic(err)
}
c.Name = auth.SelectedProfile.Name
c.Auth.UUID = auth.SelectedProfile.ID
c.AsTk = auth.AccessToken
c.Auth.UUID, c.Name = auth.SelectedProfile()
c.AsTk = auth.AccessToken()
//Connect server
err = c.JoinServer("localhost", 25565)