From da5beef9a5a51042cd61fcfa88b50d8aba596c3b Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 27 Jan 2020 13:26:33 +0800 Subject: [PATCH] test --- job.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/job.go b/job.go index 6c81d09..e529baf 100644 --- a/job.go +++ b/job.go @@ -1861,10 +1861,9 @@ func jobCraftItem(j Job) { } /* we can finish the job */ - var out string - out = fmt.Sprintf("Summary for %s\n", item.Names[0]) - out = fmt.Sprint("%s Mana : %d\n", out, totalMana) - out = fmt.Sprint("%s
 Items :
\n", out) + out := fmt.Sprintf("Summary for %s\n", item.Names[0]) + out = fmt.Sprintf("%s Mana : %d\n", out, totalMana) + out = fmt.Sprintf("%s
 Items :
\n", out) for k, v := range requiredItems { obj, _ := getObjItem(getObjItemID(k, ``)) ava, _ := availableItems[k]