This commit is contained in:
Tnze
2022-11-16 23:32:33 +08:00
parent 59f946302b
commit 64667826d0
11 changed files with 22 additions and 21 deletions

View File

@ -9,9 +9,10 @@ func (r *Realms) Available() (ok bool, err error) {
}
// 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,
// else it returns COMPATIBLE.
//
// if the client is outdated, it returns OUTDATED,
// if the client is running a snapshot, it returns OTHER,
// else it returns COMPATIBLE.
func (r *Realms) Compatible() (string, error) {
resp, err := r.c.Get(Domain + "/mco/client/compatible")
if err != nil {