update language data, blocks and items
This commit is contained in:
@ -26,11 +26,11 @@ func (r *Realms) Compatible() (string, error) {
|
||||
|
||||
// TOS is what to join Realms servers you must agree to.
|
||||
// Call this function will set this flag.
|
||||
func (r *Realms) TOS()error{
|
||||
resp,err:=r.c.Post(Domain+"/mco/tos/agreed","application/json",nil)
|
||||
func (r *Realms) TOS() error {
|
||||
resp, err := r.c.Post(Domain+"/mco/tos/agreed", "application/json", nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user