This commit is contained in:
shoopea 2021-01-21 15:08:56 +01:00
parent ab9ba64c7d
commit ccf21fc503

3
job.go
View File

@ -2231,9 +2231,6 @@ func jobBrewItem(j Job) {
_, err = parseSubTypeMessageAlchStockAck(m, rule.re) _, err = parseSubTypeMessageAlchStockAck(m, rule.re)
logOnError(err, "jobBrewItem : parseSubTypeMessageAlchStockAck") logOnError(err, "jobBrewItem : parseSubTypeMessageAlchStockAck")
if err == nil { if err == nil {
maxResItems = make(map[int64]int64)
itemsCode = make(map[int64]string)
// pre-fill maps with references and quantities // pre-fill maps with references and quantities
o, _ := getObjItem(p.ObjItemID64) o, _ := getObjItem(p.ObjItemID64)
maxManaItems = p.ManaMax / o.Craft.Mana maxManaItems = p.ManaMax / o.Craft.Mana