fix
This commit is contained in:
parent
81d04dd752
commit
c374507a89
2
job.go
2
job.go
@ -2103,7 +2103,7 @@ func jobAlchAll(j Job) {
|
||||
for _, s := range cwm.Stock {
|
||||
if i.ItemID64 == s.ItemID64 {
|
||||
itemInStock = true
|
||||
maxResItems[o.ObjID64] = MaxInt64(maxResItems[o.ObjID64], s.Quantity/i.Quantity)
|
||||
maxResItems[o.ObjID64] = MinInt64(maxResItems[o.ObjID64], s.Quantity/i.Quantity)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user