fix debug

This commit is contained in:
shoopea 2020-02-10 18:19:47 +08:00
parent 16dc1e46e6
commit a77e7f6bb6

2
job.go
View File

@ -2095,7 +2095,7 @@ func jobCraftAll(j Job) {
recipes, _ := totalRecipes[k]
parts, _ := totalParts[k]
if k == "a83" || k == "a84" {
log.Printf("jobCraftAll[%s] ratio : %d | parts : %d | recipes : %d", k, i, parts, recipes)
log.Printf("jobCraftAll[%s] ratio : %d | parts : %d | recipes : %d\n", k, i, parts, recipes)
}
if (recipes > 0 && parts > (i-1)) || (parts >= i) {
completeItems[k] = float64(MinInt64(recipes*i, parts) / i)