remove gomcbot
This commit is contained in:
@ -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
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user