update language data, blocks and items

This commit is contained in:
Tnze
2019-12-14 22:19:23 +08:00
parent 0efefc0f94
commit 55c7e2163b
6 changed files with 5198 additions and 9 deletions

View File

@ -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
}
}