diff --git a/job.go b/job.go index 3261ccf..1130f6f 100644 --- a/job.go +++ b/job.go @@ -2269,21 +2269,21 @@ func jobShops(j Job) { } } out = fmt.Sprintf("%s [%4d💧]", out, cwm.Mana) - out = fmt.Sprintf("%s %s ", out, cwm.Link, cwm.User) + out = fmt.Sprintf("%s %s", out, cwm.Link, cwm.User) if cwm.Mana < cwm.ManaTotal { + out = fmt.Sprintf("%s ", out) t := (cwm.ManaTotal - cwm.Mana) / ((cwm.ManaTotal / 250) + 1) d := time.Duration(t) * time.Minute if d.Hours() > 1 { - out = fmt.Sprintf("%s%.0fh\n", out, d.Hours()) + out = fmt.Sprintf("%s%.0fh", out, d.Hours()) } d = d - d.Truncate(1*time.Hour) if d.Minutes() > 0 { - out = fmt.Sprintf("%s%.0fm\n", out, d.Minutes()) + out = fmt.Sprintf("%s%.0fm", out, d.Minutes()) } - } else { - out = fmt.Sprintf("%s\n", out) } + out = fmt.Sprintf("%s\n", out) } }