fix typo
This commit is contained in:
@ -2,7 +2,7 @@ package realms
|
||||
|
||||
import "fmt"
|
||||
|
||||
// Invite invite player to Realm
|
||||
// Invite player to Realm
|
||||
func (r *Realms) Invite(s Server, name, uuid string) error {
|
||||
pl := struct {
|
||||
Name string `json:"name"`
|
||||
|
@ -8,7 +8,7 @@ func (r *Realms) Available() (ok bool, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// Compatible returns whether the clients version is up to date with Realms.
|
||||
// Compatible returns whether the clients version is up-to-date with Realms.
|
||||
//
|
||||
// if the client is outdated, it returns OUTDATED,
|
||||
// if the client is running a snapshot, it returns OTHER,
|
||||
|
@ -23,7 +23,7 @@ func (e *Error) Error() string {
|
||||
}
|
||||
|
||||
// Domain is the URL of Realms API server
|
||||
// Panic if it cannot be parse by url.Parse().
|
||||
// Panic if it cannot be parsed by url.Parse().
|
||||
var Domain = "https://pc.realms.minecraft.net"
|
||||
|
||||
// New create a new Realms c with version, username, accessToken and UUID without dashes.
|
||||
|
Reference in New Issue
Block a user