This commit is contained in:
shoopea 2020-01-27 12:33:55 +08:00
parent 437380c2f6
commit 6ea2d1a329

1
job.go
View File

@ -1780,6 +1780,7 @@ func jobCraftItem(j Job) {
p2.ItemTypeList = append(p2.ItemTypeList, cacheObjSubType[`item_res`]) p2.ItemTypeList = append(p2.ItemTypeList, cacheObjSubType[`item_res`])
p2.ItemTypeList = append(p2.ItemTypeList, cacheObjSubType[`item_recipe`]) p2.ItemTypeList = append(p2.ItemTypeList, cacheObjSubType[`item_recipe`])
p2.ItemTypeList = append(p2.ItemTypeList, cacheObjSubType[`item_part`]) p2.ItemTypeList = append(p2.ItemTypeList, cacheObjSubType[`item_part`])
p2.ItemTypeList = append(p2.ItemTypeList, cacheObjSubType[`item_alch`])
b, err = json.Marshal(p2) b, err = json.Marshal(p2)
logOnError(err, "jobCraftItem : Marshal(p2)") logOnError(err, "jobCraftItem : Marshal(p2)")