diff --git a/job.go b/job.go index 7d44353..3261ccf 100644 --- a/job.go +++ b/job.go @@ -2275,7 +2275,7 @@ func jobShops(j Job) { 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\n", out, d.Hours()) } d = d - d.Truncate(1*time.Hour) if d.Minutes() > 0 {