remove gomcbot

This commit is contained in:
JunDao
2019-05-02 14:17:53 +08:00
parent 6cd0af6187
commit 603ab9b09d
6 changed files with 2 additions and 74 deletions

View File

@ -9,7 +9,6 @@ import (
"github.com/Tnze/go-mc/chat"
"github.com/Tnze/go-mc/data"
pk "github.com/Tnze/go-mc/net/packet"
// "github.com/Tnze/gomcbot/world/entity"
)
// //GetPosition return the player's position

View File

@ -167,7 +167,7 @@ func loginAuth(AsTk, name, UUID string, shareSecret []byte, er encryptionRequest
if err != nil {
return fmt.Errorf("make request error: %v", err)
}
PostRequest.Header.Set("User-Agent", "gomcbot")
PostRequest.Header.Set("User-Agent", "go-mc")
PostRequest.Header.Set("Connection", "keep-alive")
resp, err := client.Do(PostRequest)
if err != nil {