diff --git a/bot/example_test.go b/bot/example_test.go index 09ae12e..9c72547 100644 --- a/bot/example_test.go +++ b/bot/example_test.go @@ -48,7 +48,8 @@ func ExampleClient_JoinServer_online() { panic(err) } c.Name = auth.SelectedProfile.Name - c.AsTk = auth.SelectedProfile.ID + c.Auth.UUID = auth.SelectedProfile.ID + c.AsTk = auth.AccessToken //Connect server err = c.JoinServer("localhost", 25565)