fix debug

This commit is contained in:
shoopea 2020-02-10 18:19:32 +08:00
parent 6d2602ba24
commit 16dc1e46e6

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", i, parts, recipes)
log.Printf("jobCraftAll[%s] ratio : %d | parts : %d | recipes : %d", k, i, parts, recipes)
}
if (recipes > 0 && parts > (i-1)) || (parts >= i) {
completeItems[k] = float64(MinInt64(recipes*i, parts) / i)